home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Telecomms < prev   
MacBinary  |  1990-03-08  |  1.1 MB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Apr 25 05:51:51 1988, modified Thu Mar 8 12:56:12 1990, creator HyperCard, type HyperCard stack, 969984 bytes "MF Telecomms" , at 0xecd80 191323 bytes resource dBase IV DBT of �.DBF, blocks size 0, block length 1024, next free block index 16317, next free block 0, next used block 0 default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 4d 46 20 54 65 6c | 65 63 6f 6d 6d 73 00 00 |..MF Tel|ecomms..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 0e cd 00 00 | 02 eb 5b 9e 98 bc b7 a2 |........|..[.....|
|00000060| 1c 4d 3c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.M<.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4f 97 00 00 |........|....O...|
|00000080| 00 00 78 00 53 54 41 4b | ff ff ff ff f9 2e bd 3f |..x.STAK|.......?|
|00000090| 00 00 00 08 00 0e cd 00 | 00 00 78 00 00 00 00 00 |........|..x.....|
|000000a0| 00 00 00 04 00 00 00 28 | 00 02 3d 3f 00 00 00 b6 |.......(|..=?....|
|000000b0| 00 02 4d 67 00 00 8c 48 | 00 00 00 00 00 00 00 00 |..Mg...H|........|
|000000c0| 00 00 0d aa 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |....."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | aa 55 aa 55 aa 55 aa 55 |.."A.A".|.U.U.U.U|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 00 44 00 44 00 44 00 44 | ff 00 00 ff 00 00 ff 00 |.D.D.D.D|........|
|00000460| 98 92 98 92 98 92 98 92 | bf 00 bf bf b0 b0 b0 b0 |........|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 7c 20 56 65 72 73 | 69 6f 6e 20 32 2e 30 0d |--| Vers|ion 2.0.|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |-------.|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000720| 2d 2d 0d 2d 2d 20 20 28 | 43 29 20 31 39 39 30 20 |--.-- (|C) 1990 |
|00000730| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000740| 49 6e 63 2e 0d 2d 2d 0d | 2d 2d 20 20 41 70 70 6c |Inc..--.|-- Appl|
|00000750| 65 2c 20 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, The A|pple log|
|00000760| 6f 2c 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 48 79 |o, Macin|tosh, Hy|
|00000770| 70 65 72 43 61 72 64 0d | 2d 2d 20 20 61 72 65 20 |perCard.|-- are |
|00000780| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000790| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000007a0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|000007b0| 0d 2d 2d 20 20 54 68 69 | 73 20 73 6f 66 74 77 61 |.-- Thi|s softwa|
|000007c0| 72 65 20 6d 61 79 20 6e | 6f 74 20 62 65 20 63 6f |re may n|ot be co|
|000007d0| 70 69 65 64 20 77 69 74 | 68 6f 75 74 20 74 68 65 |pied wit|hout the|
|000007e0| 0d 2d 2d 20 20 65 78 70 | 72 65 73 73 20 77 72 69 |.-- exp|ress wri|
|000007f0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000800| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000810| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 20 41 6c 6c 20 |r, Inc..|-- All |
|00000820| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000830| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 2d 2d 2d 2d |--------|---.----|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 0d 2d 2d 20 55 | 70 64 61 74 65 20 74 68 |---.-- U|pdate th|
|000008d0| 65 20 65 76 61 6c 75 61 | 74 69 6f 6e 20 64 61 74 |e evalua|tion dat|
|000008e0| 61 20 66 6f 72 20 74 68 | 69 73 20 70 72 6f 62 6c |a for th|is probl|
|000008f0| 65 6d 0d d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |em......|........|
|00000900| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000910| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000920| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000930| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 0d 0d 6f 6e 20 75 |........|....on u|
|00000940| 70 64 61 74 65 45 76 61 | 6c 20 76 61 6c 75 65 0d |pdateEva|l value.|
|00000950| 67 6c 6f 62 61 6c 20 53 | 41 50 72 6f 62 6c 65 6d |global S|AProblem|
|00000960| 4e 75 6d 62 65 72 2c 20 | 53 41 45 76 61 6c 44 61 |Number, |SAEvalDa|
|00000970| 74 61 0d 0d 69 66 20 69 | 74 65 6d 20 31 20 6f 66 |ta..if i|tem 1 of|
|00000980| 20 6c 69 6e 65 20 53 41 | 50 72 6f 62 6c 65 6d 4e | line SA|ProblemN|
|00000990| 75 6d 62 65 72 20 6f 66 | 20 53 41 45 76 61 6c 44 |umber of| SAEvalD|
|000009a0| 61 74 61 20 69 73 20 65 | 6d 70 74 79 20 c2 0d 74 |ata is e|mpty ..t|
|000009b0| 68 65 6e 20 70 75 74 20 | 31 20 69 6e 74 6f 20 69 |hen put |1 into i|
|000009c0| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 53 41 |tem 1 of| line SA|
|000009d0| 50 72 6f 62 6c 65 6d 4e | 75 6d 62 65 72 20 6f 66 |ProblemN|umber of|
|000009e0| 20 53 41 45 76 61 6c 44 | 61 74 61 0d 65 6c 73 65 | SAEvalD|ata.else|
|000009f0| 20 61 64 64 20 31 20 74 | 6f 20 69 74 65 6d 20 31 | add 1 t|o item 1|
|00000a00| 20 6f 66 20 6c 69 6e 65 | 20 53 41 50 72 6f 62 6c | of line| SAProbl|
|00000a10| 65 6d 4e 75 6d 62 65 72 | 20 6f 66 20 53 41 45 76 |emNumber| of SAEv|
|00000a20| 61 6c 44 61 74 61 0d 70 | 75 74 20 76 61 6c 75 65 |alData.p|ut value|
|00000a30| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00000a40| 6c 69 6e 65 20 53 41 50 | 72 6f 62 6c 65 6d 4e 75 |line SAP|roblemNu|
|00000a50| 6d 62 65 72 20 6f 66 20 | 53 41 45 76 61 6c 44 61 |mber of |SAEvalDa|
|00000a60| 74 61 0d 0d 65 6e 64 20 | 75 70 64 61 74 65 45 76 |ta..end |updateEv|
|00000a70| 61 6c 0d 0d 6f 6e 20 73 | 69 6d 53 74 61 72 74 0d |al..on s|imStart.|
|00000a80| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 68 6f 77 |lock scr|een.show|
|00000a90| 20 62 67 20 66 6c 64 20 | 53 75 62 54 69 74 6c 65 | bg fld |SubTitle|
|00000aa0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 77 |.unlock |screen w|
|00000ab0| 69 74 68 20 76 69 73 75 | 61 6c 20 64 69 73 73 6f |ith visu|al disso|
|00000ac0| 6c 76 65 0d 65 6e 64 20 | 73 69 6d 53 74 61 72 74 |lve.end |simStart|
|00000ad0| 0d 0d 44 6f 20 6e 6f 74 | 20 70 75 74 20 61 6e 79 |..Do not| put any|
|00000ae0| 74 68 69 6e 67 20 61 66 | 74 65 72 20 74 68 65 73 |thing af|ter thes|
|00000af0| 65 20 68 61 6e 64 6c 65 | 72 73 2e 20 41 64 64 20 |e handle|rs. Add |
|00000b00| 73 74 75 66 66 20 74 6f | 20 74 68 65 20 62 65 67 |stuff to| the beg|
|00000b10| 69 6e 69 6e 67 2e 0d 2d | 2d 2f 20 64 65 76 65 6c |ining..-|-/ devel|
|00000b20| 6f 70 6d 65 6e 74 20 74 | 6f 6f 6c 73 20 73 74 61 |opment t|ools sta|
|00000b30| 72 74 20 2f 2d 2d 0d 0d | 2d 2d 54 4f 4f 4c 53 20 |rt /--..|--TOOLS |
|00000b40| 43 4f 44 45 20 62 79 20 | 52 57 20 31 31 2f 31 35 |CODE by |RW 11/15|
|00000b50| 0d 6f 6e 20 64 6e 6f 74 | 65 4f 70 74 69 6f 6e 73 |.on dnot|eOptions|
|00000b60| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 6b 65 |.if the |optionke|
|00000b70| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 0d 73 |y is dow|n then.s|
|00000b80| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 63 64 |et the l|oc of cd|
|00000b90| 20 66 6c 64 20 64 65 76 | 6e 6f 74 65 20 74 6f 20 | fld dev|note to |
|00000ba0| 74 68 65 20 6d 6f 75 73 | 65 6c 6f 63 0d 65 6c 73 |the mous|eloc.els|
|00000bb0| 65 20 69 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |e if the| command|
|00000bc0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00000bd0| 0d 61 6e 73 77 65 72 20 | 22 68 69 64 65 20 64 6e |.answer |"hide dn|
|00000be0| 6f 74 65 3f 22 20 77 69 | 74 68 20 22 79 65 73 22 |ote?" wi|th "yes"|
|00000bf0| 20 6f 72 20 22 6e 6f 22 | 0d 69 66 20 69 74 20 69 | or "no"|.if it i|
|00000c00| 73 20 22 79 65 73 22 20 | 74 68 65 6e 20 68 69 64 |s "yes" |then hid|
|00000c10| 65 20 63 64 20 66 6c 64 | 20 64 65 76 6e 6f 74 65 |e cd fld| devnote|
|00000c20| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 6e 6f 74 |.end if.|end dnot|
|00000c30| 65 4f 70 74 69 6f 6e 73 | 0d 0d 6f 6e 20 74 6f 6f |eOptions|..on too|
|00000c40| 6c 73 20 68 61 6e 64 4e | 61 6d 65 2c 6f 70 74 70 |ls handN|ame,optp|
|00000c50| 61 72 61 6d 73 0d 67 65 | 74 20 74 68 65 20 70 61 |arams.ge|t the pa|
|00000c60| 72 61 6d 73 0d 64 65 6c | 65 74 65 20 69 74 65 6d |rams.del|ete item|
|00000c70| 20 31 20 6f 66 20 69 74 | 20 2d 2d 20 54 6f 6f 6c | 1 of it| -- Tool|
|00000c80| 73 20 61 6e 64 20 68 61 | 6e 64 6e 61 6d 65 0d 70 |s and ha|ndname.p|
|00000c90| 75 74 20 68 61 6e 64 4e | 61 6d 65 20 26 26 20 69 |ut handN|ame && i|
|00000ca0| 74 20 69 6e 74 6f 20 74 | 68 65 43 6f 6d 6d 61 6e |t into t|heComman|
|00000cb0| 64 0d 73 65 6e 64 20 74 | 68 65 43 6f 6d 6d 61 6e |d.send t|heComman|
|00000cc0| 64 20 74 6f 20 62 74 6e | 20 22 52 57 20 54 6f 6f |d to btn| "RW Too|
|00000cd0| 6c 73 22 20 6f 66 20 63 | 64 20 22 61 75 74 6f 6d |ls" of c|d "autom|
|00000ce0| 61 74 65 22 0d 65 6e 64 | 20 74 6f 6f 6c 73 0d 0d |ate".end| tools..|
|00000cf0| 6f 6e 20 64 65 6c 64 75 | 6d 6d 79 73 0d 74 6f 6f |on deldu|mmys.too|
|00000d00| 6c 73 20 64 65 6c 64 75 | 6d 6d 79 73 0d 65 6e 64 |ls deldu|mmys.end|
|00000d10| 20 64 65 6c 64 75 6d 6d | 79 73 0d 0d 6f 6e 20 46 | deldumm|ys..on F|
|00000d20| 69 6e 64 53 74 72 69 6e | 67 0d 74 6f 6f 6c 73 20 |indStrin|g.tools |
|00000d30| 46 69 6e 64 53 74 72 69 | 6e 67 0d 65 6e 64 20 46 |FindStri|ng.end F|
|00000d40| 69 6e 64 53 74 72 69 6e | 67 0d 6f 6e 20 64 43 6f |indStrin|g.on dCo|
|00000d50| 6c 6c 65 63 74 0d 74 6f | 6f 6c 73 20 64 43 6f 6c |llect.to|ols dCol|
|00000d60| 6c 65 63 74 0d 65 6e 64 | 20 64 43 6f 6c 6c 65 63 |lect.end| dCollec|
|00000d70| 74 0d 6f 6e 20 64 48 69 | 64 65 0d 70 75 74 20 22 |t.on dHi|de.put "|
|00000d80| 68 69 64 65 22 20 69 6e | 74 6f 20 70 72 61 6d 0d |hide" in|to pram.|
|00000d90| 74 6f 6f 6c 73 20 73 68 | 6f 77 48 69 64 65 2c 70 |tools sh|owHide,p|
|00000da0| 72 61 6d 0d 65 6e 64 20 | 64 48 69 64 65 0d 6f 6e |ram.end |dHide.on|
|00000db0| 20 64 53 68 6f 77 0d 70 | 75 74 20 22 73 68 6f 77 | dShow.p|ut "show|
|00000dc0| 22 20 69 6e 74 6f 20 70 | 72 61 6d 0d 74 6f 6f 6c |" into p|ram.tool|
|00000dd0| 73 20 73 68 6f 77 48 69 | 64 65 2c 70 72 61 6d 0d |s showHi|de,pram.|
|00000de0| 65 6e 64 20 64 53 68 6f | 77 0d 6f 6e 20 6e 65 78 |end dSho|w.on nex|
|00000df0| 74 44 6e 6f 74 65 0d 74 | 6f 6f 6c 73 20 6e 65 78 |tDnote.t|ools nex|
|00000e00| 74 44 6e 6f 74 65 0d 65 | 6e 64 20 6e 65 78 74 44 |tDnote.e|nd nextD|
|00000e10| 6e 6f 74 65 0d 6f 6e 20 | 64 4e 6f 74 65 20 64 6f |note.on |dNote do|
|00000e20| 41 63 74 69 6f 6e 0d 73 | 65 6e 64 20 22 64 4e 6f |Action.s|end "dNo|
|00000e30| 74 65 22 20 26 26 20 64 | 6f 41 63 74 69 6f 6e 20 |te" && d|oAction |
|00000e40| 74 6f 20 62 74 6e 20 22 | 52 57 20 54 6f 6f 6c 73 |to btn "|RW Tools|
|00000e50| 22 20 6f 66 20 63 61 72 | 64 20 61 75 74 6f 6d 61 |" of car|d automa|
|00000e60| 74 65 0d 65 6e 64 20 64 | 4e 6f 74 65 0d 2d 2d 20 |te.end d|Note.-- |
|00000e70| 65 6e 64 20 6f 66 20 52 | 57 74 6f 6f 6c 73 2d 2d |end of R|Wtools--|
|00000e80| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 6e 65 78 74 4d |------..|on nextM|
|00000e90| 65 6e 75 0d 73 65 6e 64 | 20 6e 65 78 74 4d 65 6e |enu.send| nextMen|
|00000ea0| 75 20 74 6f 20 63 61 72 | 64 20 61 75 74 6f 6d 61 |u to car|d automa|
|00000eb0| 74 65 0d 65 6e 64 20 6e | 65 78 74 4d 65 6e 75 0d |te.end n|extMenu.|
|00000ec0| 6f 6e 20 6e 6f 57 68 65 | 72 65 0d 73 65 6e 64 20 |on noWhe|re.send |
|00000ed0| 6e 6f 57 68 65 72 65 20 | 74 6f 20 63 61 72 64 20 |noWhere |to card |
|00000ee0| 61 75 74 6f 6d 61 74 65 | 0d 65 6e 64 20 6e 6f 57 |automate|.end noW|
|00000ef0| 68 65 72 65 0d 6f 6e 20 | 6e 6f 6e 65 78 74 0d 73 |here.on |nonext.s|
|00000f00| 65 6e 64 20 6e 6f 6e 65 | 78 74 20 74 6f 20 63 61 |end none|xt to ca|
|00000f10| 72 64 20 61 75 74 6f 6d | 61 74 65 0d 65 6e 64 20 |rd autom|ate.end |
|00000f20| 6e 6f 6e 65 78 74 0d 6f | 6e 20 6e 6f 50 72 65 76 |nonext.o|n noPrev|
|00000f30| 0d 73 65 6e 64 20 6e 6f | 50 72 65 76 20 74 6f 20 |.send no|Prev to |
|00000f40| 63 61 72 64 20 61 75 74 | 6f 6d 61 74 65 0d 65 6e |card aut|omate.en|
|00000f50| 64 20 6e 6f 50 72 65 76 | 0d 6f 6e 20 69 6e 73 74 |d noPrev|.on inst|
|00000f60| 61 6c 6c 56 69 64 65 6f | 0d 73 65 6e 64 20 69 6e |allVideo|.send in|
|00000f70| 73 74 61 6c 6c 56 69 64 | 65 6f 20 74 6f 20 63 61 |stallVid|eo to ca|
|00000f80| 72 64 20 61 75 74 6f 6d | 61 74 65 0d 65 6e 64 20 |rd autom|ate.end |
|00000f90| 69 6e 73 74 61 6c 6c 56 | 69 64 65 6f 0d 6f 6e 20 |installV|ideo.on |
|00000fa0| 69 6e 73 74 61 6c 6c 41 | 75 64 69 6f 0d 73 65 6e |installA|udio.sen|
|00000fb0| 64 20 69 6e 73 74 61 6c | 6c 41 75 64 69 6f 20 74 |d instal|lAudio t|
|00000fc0| 6f 20 63 61 72 64 20 61 | 75 74 6f 6d 61 74 65 0d |o card a|utomate.|
|00000fd0| 65 6e 64 20 69 6e 73 74 | 61 6c 6c 41 75 64 69 6f |end inst|allAudio|
|00000fe0| 0d 0d 6f 6e 20 6c 6f 63 | 6b 75 70 0d 2d 2d 20 6c |..on loc|kup.-- l|
|00000ff0| 6f 63 6b 73 20 75 70 20 | 65 76 65 72 79 20 66 69 |ocks up |every fi|
|00001000| 65 6c 64 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b |eld in t|he stack|
|00001010| 0d 2d 2d 20 75 6e 6c 6f | 63 6b 65 64 20 66 69 65 |.-- unlo|cked fie|
|00001020| 6c 64 73 20 6e 65 65 64 | 20 74 6f 20 62 65 20 73 |lds need| to be s|
|00001030| 63 72 69 70 74 65 64 20 | 74 6f 20 62 65 20 75 6e |cripted |to be un|
|00001040| 6c 6f 63 6b 65 64 20 69 | 6e 20 6f 70 65 6e 43 61 |locked i|n openCa|
|00001050| 72 64 0d 73 65 74 20 6c | 6f 63 6b 6d 65 73 73 61 |rd.set l|ockmessa|
|00001060| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ges to t|rue.set |
|00001070| 6c 6f 63 6b 73 63 72 65 | 65 6e 20 74 6f 20 74 72 |lockscre|en to tr|
|00001080| 75 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ue.set c|ursor to|
|00001090| 20 62 75 73 79 0d 72 65 | 70 65 61 74 20 77 69 74 | busy.re|peat wit|
|000010a0| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|000010b0| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 0d 67 6f 20 |umber of| cds.go |
|000010c0| 63 64 20 78 0d 6c 74 0d | 65 6e 64 20 72 65 70 65 |cd x.lt.|end repe|
|000010d0| 61 74 0d 65 6e 64 20 6c | 6f 63 6b 75 70 0d 0d 2d |at.end l|ockup..-|
|000010e0| 2d 2f 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 20 74 |-/ devel|opment t|
|000010f0| 6f 6f 6c 73 20 65 6e 64 | 20 2f 2d 2d 0d 0d 0d 0d |ools end| /--....|
|00001100| 0d 2d 2d 2d 2d 7c 20 70 | 72 65 72 65 71 75 69 73 |.----| p|rerequis|
|00001110| 69 74 65 20 61 6e 64 20 | 63 68 61 6c 6c 65 6e 67 |ite and |challeng|
|00001120| 65 20 68 61 6e 64 6c 65 | 72 73 20 2e 35 0d 0d 6f |e handle|rs .5..o|
|00001130| 6e 20 69 6e 69 74 50 72 | 65 72 65 71 0d 67 6c 6f |n initPr|ereq.glo|
|00001140| 62 61 6c 20 67 50 72 65 | 72 65 71 53 63 6f 72 65 |bal gPre|reqScore|
|00001150| 73 0d 70 75 74 20 22 2c | 22 20 62 65 66 6f 72 65 |s.put ",|" before|
|00001160| 20 67 50 72 65 72 65 71 | 53 63 6f 72 65 73 0d 65 | gPrereq|Scores.e|
|00001170| 6e 64 20 69 6e 69 74 50 | 72 65 72 65 71 0d 0d 0d |nd initP|rereq...|
|00001180| 2d 2d 7c 7c 7c 2d 2d 20 | 53 54 41 4e 44 41 52 44 |--|||-- |STANDARD|
|00001190| 20 53 54 41 43 4b 20 53 | 43 52 49 50 54 53 20 53 | STACK S|CRIPTS S|
|000011a0| 54 41 52 54 20 2d 2d 7c | 7c 7c 2d 2d 0d 2d 2d 20 |TART --||||--.-- |
|000011b0| 66 65 62 20 32 38 2c 20 | 31 39 39 30 0d 0d 2d 2d |feb 28, |1990..--|
|000011c0| 2d 2d 7c 20 56 49 44 45 | 4f 20 53 43 52 49 50 54 |--| VIDE|O SCRIPT|
|000011d0| 20 76 65 72 73 69 6f 6e | 20 38 0d 0d 6f 6e 20 69 | version| 8..on i|
|000011e0| 64 6c 65 0d 69 64 6c 65 | 56 69 64 65 6f 43 6f 6e |dle.idle|VideoCon|
|000011f0| 74 72 6f 6c 6c 65 72 0d | 70 61 73 73 20 69 64 6c |troller.|pass idl|
|00001200| 65 0d 65 6e 64 20 69 64 | 6c 65 0d 0d 6f 6e 20 67 |e.end id|le..on g|
|00001210| 6f 56 69 64 65 6f 53 65 | 74 75 70 0d 76 69 73 75 |oVideoSe|tup.visu|
|00001220| 61 6c 20 69 72 69 73 20 | 6f 70 65 6e 0d 70 75 73 |al iris |open.pus|
|00001230| 68 20 63 61 72 64 0d 67 | 6f 20 63 61 72 64 20 22 |h card.g|o card "|
|00001240| 56 69 64 65 6f 64 69 73 | 63 20 53 65 74 75 70 22 |Videodis|c Setup"|
|00001250| 20 6f 66 20 73 74 61 63 | 6b 20 22 48 6f 6d 65 22 | of stac|k "Home"|
|00001260| 0d 65 6e 64 20 67 6f 56 | 69 64 65 6f 53 65 74 75 |.end goV|ideoSetu|
|00001270| 70 0d 0d 6f 6e 20 73 74 | 65 70 56 69 64 65 6f 42 |p..on st|epVideoB|
|00001280| 6f 75 6e 64 20 64 69 72 | 2c 20 62 6f 75 6e 64 46 |ound dir|, boundF|
|00001290| 72 61 6d 65 0d 69 66 20 | 64 69 72 20 2a 20 76 69 |rame.if |dir * vi|
|000012a0| 64 65 6f 46 72 61 6d 65 | 28 29 20 3e 3d 20 64 69 |deoFrame|() >= di|
|000012b0| 72 20 2a 20 62 6f 75 6e | 64 46 72 61 6d 65 20 74 |r * boun|dFrame t|
|000012c0| 68 65 6e 0d 73 65 61 72 | 63 68 56 69 64 65 6f 20 |hen.sear|chVideo |
|000012d0| 62 6f 75 6e 64 46 72 61 | 6d 65 0d 62 65 65 70 0d |boundFra|me.beep.|
|000012e0| 65 6c 73 65 0d 73 74 65 | 70 56 69 64 65 6f 20 64 |else.ste|pVideo d|
|000012f0| 69 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 74 |ir.end i|f.end st|
|00001300| 65 70 56 69 64 65 6f 42 | 6f 75 6e 64 0d 0d 6f 6e |epVideoB|ound..on|
|00001310| 20 6d 61 6b 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f | makeVid|eoContro|
|00001320| 6c 6c 65 72 0d 67 6c 6f | 62 61 6c 20 67 43 6f 6e |ller.glo|bal gCon|
|00001330| 74 72 6f 6c 43 6c 69 63 | 6b 0d 70 75 74 20 30 20 |trolClic|k.put 0 |
|00001340| 69 6e 74 6f 20 67 43 6f | 6e 74 72 6f 6c 43 6c 69 |into gCo|ntrolCli|
|00001350| 63 6b 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |ck.if th|e number|
|00001360| 20 6f 66 20 63 64 20 66 | 6c 64 73 20 3e 20 30 20 | of cd f|lds > 0 |
|00001370| 74 68 65 6e 0d 69 66 20 | 66 69 6e 64 46 69 65 6c |then.if |findFiel|
|00001380| 64 28 22 56 69 64 65 6f | 20 43 6f 6e 74 72 6f 6c |d("Video| Control|
|00001390| 6c 65 72 22 29 20 69 73 | 20 6e 6f 74 20 66 61 6c |ler") is| not fal|
|000013a0| 73 65 20 74 68 65 6e 0d | 73 68 6f 77 20 63 64 20 |se then.|show cd |
|000013b0| 66 6c 64 20 22 56 69 64 | 65 6f 20 43 6f 6e 74 72 |fld "Vid|eo Contr|
|000013c0| 6f 6c 6c 65 72 22 0d 65 | 78 69 74 20 6d 61 6b 65 |oller".e|xit make|
|000013d0| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|000013e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 6c 6f |end if.e|nd if.lo|
|000013f0| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 74 20 6d 61 |ck scree|n.put ma|
|00001400| 6b 65 4c 69 6e 65 73 28 | 20 c2 0d 22 b1 b1 b1 b1 |keLines(| .."....|
|00001410| b1 b1 b1 b1 22 2c 20 c2 | 0d 22 50 61 75 73 65 22 |....", .|."Pause"|
|00001420| 2c 20 c2 0d 22 50 6c 61 | 79 22 2c 20 c2 0d 22 46 |, .."Pla|y", .."F|
|00001430| 61 73 74 20 46 77 64 22 | 2c 20 c2 0d 22 46 61 73 |ast Fwd"|, .."Fas|
|00001440| 74 20 52 65 76 22 2c c2 | 0d 22 53 74 65 70 20 46 |t Rev",.|."Step F|
|00001450| 77 64 22 2c 20 c2 0d 22 | 53 74 65 70 20 52 65 76 |wd", .."|Step Rev|
|00001460| 22 2c 20 c2 0d 22 51 75 | 69 74 22 2c 20 22 30 3a |", .."Qu|it", "0:|
|00001470| 30 30 22 29 20 69 6e 74 | 6f 20 6d 65 6e 75 4c 69 |00") int|o menuLi|
|00001480| 73 74 0d 6d 61 6b 65 43 | 61 72 64 46 69 65 6c 64 |st.makeC|ardField|
|00001490| 20 6e 61 6d 65 2c 20 22 | 56 69 64 65 6f 20 43 6f | name, "|Video Co|
|000014a0| 6e 74 72 6f 6c 6c 65 72 | 22 2c 20 c2 0d 77 69 64 |ntroller|", ..wid|
|000014b0| 74 68 2c 20 38 32 2c 20 | 68 65 69 67 68 74 2c 31 |th, 82, |height,1|
|000014c0| 35 34 2c 20 c2 0d 74 6f | 70 4c 65 66 74 2c 20 22 |54, ..to|pLeft, "|
|000014d0| 32 36 34 2c 31 36 36 22 | 2c c2 0d 6c 6f 63 6b 54 |264,166"|,..lockT|
|000014e0| 65 78 74 2c 20 74 72 75 | 65 2c 20 74 65 78 74 46 |ext, tru|e, textF|
|000014f0| 6f 6e 74 2c 20 22 62 74 | 6e 65 72 61 73 20 64 65 |ont, "bt|neras de|
|00001500| 6d 69 22 2c 20 c2 0d 74 | 65 78 74 53 69 7a 65 2c |mi", ..t|extSize,|
|00001510| 31 32 2c 73 74 79 6c 65 | 2c 20 22 73 68 61 64 6f |12,style|, "shado|
|00001520| 77 22 2c 20 74 65 78 74 | 61 6c 69 67 6e 2c 20 63 |w", text|align, c|
|00001530| 65 6e 74 65 72 2c 20 77 | 69 64 65 4d 61 72 67 69 |enter, w|ideMargi|
|00001540| 6e 73 2c 74 72 75 65 0d | 70 75 74 20 6d 65 6e 75 |ns,true.|put menu|
|00001550| 4c 69 73 74 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |List int|o cd fld|
|00001560| 20 22 56 69 64 65 6f 20 | 43 6f 6e 74 72 6f 6c 6c | "Video |Controll|
|00001570| 65 72 22 0d 73 65 74 20 | 73 63 72 69 70 74 20 6f |er".set |script o|
|00001580| 66 20 63 64 20 66 6c 64 | 20 22 56 69 64 65 6f 20 |f cd fld| "Video |
|00001590| 43 6f 6e 74 72 6f 6c 6c | 65 72 22 20 74 6f 20 c2 |Controll|er" to .|
|000015a0| 0d 6d 61 6b 65 4c 69 6e | 65 73 28 22 6f 6e 20 6d |.makeLin|es("on m|
|000015b0| 6f 75 73 65 44 6f 77 6e | 22 2c 20 22 76 69 64 65 |ouseDown|", "vide|
|000015c0| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 22 2c 20 22 65 |oControl|ler", "e|
|000015d0| 6e 64 20 6d 6f 75 73 65 | 44 6f 77 6e 22 2c 20 c2 |nd mouse|Down", .|
|000015e0| 0d 22 6f 6e 20 6d 6f 75 | 73 65 55 70 22 2c 20 22 |."on mou|seUp", "|
|000015f0| 65 6e 64 20 6d 6f 75 73 | 65 55 70 22 20 29 0d 63 |end mous|eUp" ).c|
|00001600| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00001610| 6c 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |l.unlock| screen.|
|00001620| 65 6e 64 20 6d 61 6b 65 | 56 69 64 65 6f 43 6f 6e |end make|VideoCon|
|00001630| 74 72 6f 6c 6c 65 72 0d | 0d 6f 6e 20 76 69 64 65 |troller.|.on vide|
|00001640| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 67 6c 6f 62 |oControl|ler.glob|
|00001650| 61 6c 20 67 56 69 64 65 | 6f 46 69 72 73 74 46 72 |al gVide|oFirstFr|
|00001660| 61 6d 65 2c 20 67 56 69 | 64 65 6f 4c 61 73 74 46 |ame, gVi|deoLastF|
|00001670| 72 61 6d 65 2c 20 67 56 | 69 64 65 6f 4c 61 73 74 |rame, gV|ideoLast|
|00001680| 43 6f 6d 6d 61 6e 64 0d | 67 6c 6f 62 61 6c 20 47 |Command.|global G|
|00001690| 76 69 64 65 6f 54 79 70 | 65 0d 70 75 74 20 63 6c |videoTyp|e.put cl|
|000016a0| 69 63 6b 4c 69 6e 65 56 | 69 64 65 6f 28 29 20 69 |ickLineV|ideo() i|
|000016b0| 6e 74 6f 20 6c 69 6e 65 | 4e 75 6d 0d 70 75 74 20 |nto line|Num.put |
|000016c0| 6c 69 6e 65 20 6c 69 6e | 65 4e 75 6d 20 6f 66 20 |line lin|eNum of |
|000016d0| 63 64 20 66 6c 64 20 22 | 76 69 64 65 6f 20 63 6f |cd fld "|video co|
|000016e0| 6e 74 72 6f 6c 6c 65 72 | 22 20 69 6e 74 6f 20 63 |ntroller|" into c|
|000016f0| 6d 64 4e 61 6d 65 0d 69 | 66 20 6c 69 6e 65 4e 75 |mdName.i|f lineNu|
|00001700| 6d 20 3e 20 31 20 74 68 | 65 6e 0d 70 75 74 20 63 |m > 1 th|en.put c|
|00001710| 6d 64 4e 61 6d 65 20 69 | 6e 74 6f 20 67 56 69 64 |mdName i|nto gVid|
|00001720| 65 6f 4c 61 73 74 43 6f | 6d 6d 61 6e 64 0d 65 6e |eoLastCo|mmand.en|
|00001730| 64 20 69 66 0d 69 66 20 | 63 6d 64 4e 61 6d 65 20 |d if.if |cmdName |
|00001740| 69 73 20 22 50 61 75 73 | 65 22 20 74 68 65 6e 0d |is "Paus|e" then.|
|00001750| 73 74 6f 70 56 69 64 65 | 6f 0d 65 6c 73 65 20 69 |stopVide|o.else i|
|00001760| 66 20 63 6d 64 4e 61 6d | 65 20 69 73 20 22 50 6c |f cmdNam|e is "Pl|
|00001770| 61 79 22 20 74 68 65 6e | 0d 69 66 20 76 69 64 65 |ay" then|.if vide|
|00001780| 6f 46 72 61 6d 65 28 29 | 20 3c 20 67 56 69 64 65 |oFrame()| < gVide|
|00001790| 6f 4c 61 73 74 46 72 61 | 6d 65 20 74 68 65 6e 0d |oLastFra|me then.|
|000017a0| 70 6c 61 79 56 69 64 65 | 6f 20 22 68 65 72 65 22 |playVide|o "here"|
|000017b0| 2c 20 67 56 69 64 65 6f | 4c 61 73 74 46 72 61 6d |, gVideo|LastFram|
|000017c0| 65 0d 65 6c 73 65 0d 73 | 65 61 72 63 68 56 69 64 |e.else.s|earchVid|
|000017d0| 65 6f 20 67 56 69 64 65 | 6f 4c 61 73 74 46 72 61 |eo gVide|oLastFra|
|000017e0| 6d 65 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 69 |me.end i|f.else i|
|000017f0| 66 20 63 6d 64 4e 61 6d | 65 20 69 73 20 22 46 61 |f cmdNam|e is "Fa|
|00001800| 73 74 20 46 77 64 22 20 | 74 68 65 6e 0d 66 61 73 |st Fwd" |then.fas|
|00001810| 74 56 69 64 65 6f 42 6f | 75 6e 64 20 31 2c 20 67 |tVideoBo|und 1, g|
|00001820| 56 69 64 65 6f 4c 61 73 | 74 46 72 61 6d 65 0d 65 |VideoLas|tFrame.e|
|00001830| 6c 73 65 20 69 66 20 63 | 6d 64 4e 61 6d 65 20 69 |lse if c|mdName i|
|00001840| 73 20 22 46 61 73 74 20 | 52 65 76 22 20 74 68 65 |s "Fast |Rev" the|
|00001850| 6e 0d 66 61 73 74 56 69 | 64 65 6f 42 6f 75 6e 64 |n.fastVi|deoBound|
|00001860| 20 2d 31 2c 20 67 56 69 | 64 65 6f 46 69 72 73 74 | -1, gVi|deoFirst|
|00001870| 46 72 61 6d 65 0d 65 6c | 73 65 20 69 66 20 63 6d |Frame.el|se if cm|
|00001880| 64 4e 61 6d 65 20 69 73 | 20 22 53 74 65 70 20 46 |dName is| "Step F|
|00001890| 77 64 22 20 74 68 65 6e | 0d 73 74 65 70 56 69 64 |wd" then|.stepVid|
|000018a0| 65 6f 42 6f 75 6e 64 20 | 31 2c 20 67 56 69 64 65 |eoBound |1, gVide|
|000018b0| 6f 4c 61 73 74 46 72 61 | 6d 65 0d 65 6c 73 65 20 |oLastFra|me.else |
|000018c0| 69 66 20 63 6d 64 4e 61 | 6d 65 20 69 73 20 22 53 |if cmdNa|me is "S|
|000018d0| 74 65 70 20 52 65 76 22 | 20 74 68 65 6e 0d 73 74 |tep Rev"| then.st|
|000018e0| 65 70 56 69 64 65 6f 42 | 6f 75 6e 64 20 2d 31 2c |epVideoB|ound -1,|
|000018f0| 20 67 56 69 64 65 6f 46 | 69 72 73 74 46 72 61 6d | gVideoF|irstFram|
|00001900| 65 0d 65 6c 73 65 20 69 | 66 20 6c 69 6e 65 4e 75 |e.else i|f lineNu|
|00001910| 6d 20 3d 20 31 20 74 68 | 65 6e 0d 64 72 61 67 54 |m = 1 th|en.dragT|
|00001920| 61 72 67 0d 65 6c 73 65 | 20 69 66 20 63 6d 64 4e |arg.else| if cmdN|
|00001930| 61 6d 65 20 69 73 20 22 | 51 75 69 74 22 20 74 68 |ame is "|Quit" th|
|00001940| 65 6e 0d 64 65 6c 65 74 | 65 56 69 64 65 6f 43 6f |en.delet|eVideoCo|
|00001950| 6e 74 72 6f 6c 6c 65 72 | 0d 65 6e 64 20 69 66 0d |ntroller|.end if.|
|00001960| 65 6e 64 20 76 69 64 65 | 6f 43 6f 6e 74 72 6f 6c |end vide|oControl|
|00001970| 6c 65 72 0d 0d 66 75 6e | 63 74 69 6f 6e 20 63 6c |ler..fun|ction cl|
|00001980| 69 63 6b 4c 69 6e 65 56 | 69 64 65 6f 0d 2d 2d 20 |ickLineV|ideo.-- |
|00001990| 4e 4f 54 45 3a 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |NOTE: co|ntroller|
|000019a0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 61 72 65 20 | paramet|ers are |
|000019b0| 68 61 72 64 2d 63 6f 64 | 65 64 20 68 65 72 65 20 |hard-cod|ed here |
|000019c0| 66 6f 72 20 73 70 65 65 | 64 2e 20 6d 77 0d 70 75 |for spee|d. mw.pu|
|000019d0| 74 20 74 68 65 20 74 6f | 70 20 6f 66 20 63 64 20 |t the to|p of cd |
|000019e0| 66 6c 64 20 22 76 69 64 | 65 6f 20 63 6f 6e 74 72 |fld "vid|eo contr|
|000019f0| 6f 6c 6c 65 72 22 20 69 | 6e 74 6f 20 63 6f 6e 74 |oller" i|nto cont|
|00001a00| 72 6f 6c 54 6f 70 0d 72 | 65 74 75 72 6e 20 74 72 |rolTop.r|eturn tr|
|00001a10| 75 6e 63 28 28 69 74 65 | 6d 20 32 20 6f 66 20 74 |unc((ite|m 2 of t|
|00001a20| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 20 2d 20 63 6f |he mouse|Loc - co|
|00001a30| 6e 74 72 6f 6c 54 6f 70 | 29 20 2f 20 31 36 29 20 |ntrolTop|) / 16) |
|00001a40| 2b 20 31 0d 65 6e 64 20 | 63 6c 69 63 6b 4c 69 6e |+ 1.end |clickLin|
|00001a50| 65 56 69 64 65 6f 0d 0d | 6f 6e 20 66 61 73 74 56 |eVideo..|on fastV|
|00001a60| 69 64 65 6f 42 6f 75 6e | 64 20 64 69 72 2c 20 62 |ideoBoun|d dir, b|
|00001a70| 6f 75 6e 64 46 72 61 6d | 65 0d 67 6c 6f 62 61 6c |oundFram|e.global|
|00001a80| 20 67 56 69 64 65 6f 4c | 61 73 74 46 72 61 6d 65 | gVideoL|astFrame|
|00001a90| 2c 20 67 54 69 6d 65 52 | 65 6d 61 69 6e 69 6e 67 |, gTimeR|emaining|
|00001aa0| 2c 20 67 56 69 64 65 6f | 4c 61 73 74 43 6f 6d 6d |, gVideo|LastComm|
|00001ab0| 61 6e 64 0d 70 75 74 20 | 76 69 64 65 6f 53 74 61 |and.put |videoSta|
|00001ac0| 74 75 73 28 29 20 69 6e | 74 6f 20 63 75 72 53 74 |tus() in|to curSt|
|00001ad0| 61 74 0d 76 69 64 65 6f | 46 72 61 6d 65 73 50 65 |at.video|FramesPe|
|00001ae0| 72 53 65 63 6f 6e 64 20 | 22 66 61 73 74 22 0d 70 |rSecond |"fast".p|
|00001af0| 75 74 20 76 69 64 65 6f | 46 72 61 6d 65 28 29 20 |ut video|Frame() |
|00001b00| 69 6e 74 6f 20 63 75 72 | 46 72 61 6d 65 0d 69 66 |into cur|Frame.if|
|00001b10| 20 64 69 72 20 2a 20 63 | 75 72 46 72 61 6d 65 20 | dir * c|urFrame |
|00001b20| 3c 20 64 69 72 20 2a 20 | 62 6f 75 6e 64 46 72 61 |< dir * |boundFra|
|00001b30| 6d 65 20 74 68 65 6e 0d | 2d 2d 20 70 6c 61 79 65 |me then.|-- playe|
|00001b40| 72 20 62 75 67 20 3d 20 | 2d 3e 20 66 6f 72 77 61 |r bug = |-> forwa|
|00001b50| 72 64 0d 70 6c 61 79 56 | 69 64 65 6f 20 63 75 72 |rd.playV|ideo cur|
|00001b60| 46 72 61 6d 65 2c 20 62 | 6f 75 6e 64 46 72 61 6d |Frame, b|oundFram|
|00001b70| 65 0d 72 65 70 65 61 74 | 20 77 68 69 6c 65 20 74 |e.repeat| while t|
|00001b80| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 64 6f 77 6e |he mouse| is down|
|00001b90| 0d 75 70 64 61 74 65 56 | 69 64 65 6f 54 69 6d 65 |.updateV|ideoTime|
|00001ba0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00001bb0| 69 66 0d 69 66 20 69 74 | 65 6d 20 31 20 6f 66 20 |if.if it|em 1 of |
|00001bc0| 63 75 72 53 74 61 74 20 | 69 73 20 22 70 6c 61 79 |curStat |is "play|
|00001bd0| 22 20 74 68 65 6e 0d 69 | 66 20 76 69 64 65 6f 46 |" then.i|f videoF|
|00001be0| 72 61 6d 65 28 29 20 3c | 20 67 56 69 64 65 6f 4c |rame() <| gVideoL|
|00001bf0| 61 73 74 46 72 61 6d 65 | 20 74 68 65 6e 0d 70 75 |astFrame| then.pu|
|00001c00| 74 20 22 70 6c 61 79 22 | 20 69 6e 74 6f 20 67 56 |t "play"| into gV|
|00001c10| 69 64 65 6f 4c 61 73 74 | 43 6f 6d 6d 61 6e 64 0d |ideoLast|Command.|
|00001c20| 70 6c 61 79 56 69 64 65 | 6f 20 22 68 65 72 65 22 |playVide|o "here"|
|00001c30| 2c 20 67 56 69 64 65 6f | 4c 61 73 74 46 72 61 6d |, gVideo|LastFram|
|00001c40| 65 0d 2d 2d 20 77 61 69 | 74 46 6f 72 4d 6f 75 73 |e.-- wai|tForMous|
|00001c50| 65 43 6c 69 63 6b 0d 65 | 6e 64 20 69 66 0d 65 6c |eClick.e|nd if.el|
|00001c60| 73 65 0d 73 74 6f 70 56 | 69 64 65 6f 0d 65 6e 64 |se.stopV|ideo.end|
|00001c70| 20 69 66 0d 65 6e 64 20 | 66 61 73 74 56 69 64 65 | if.end |fastVide|
|00001c80| 6f 42 6f 75 6e 64 0d 0d | 6f 6e 20 69 64 6c 65 56 |oBound..|on idleV|
|00001c90| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 67 |ideoCont|roller.g|
|00001ca0| 6c 6f 62 61 6c 20 67 54 | 69 6d 65 52 65 6d 61 69 |lobal gT|imeRemai|
|00001cb0| 6e 69 6e 67 2c 20 67 56 | 69 64 65 6f 4c 61 73 74 |ning, gV|ideoLast|
|00001cc0| 43 6f 6d 6d 61 6e 64 0d | 69 66 20 74 68 65 20 6e |Command.|if the n|
|00001cd0| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00001ce0| 20 3e 20 30 20 74 68 65 | 6e 0d 69 66 20 28 74 68 | > 0 the|n.if (th|
|00001cf0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00001d00| 6c 61 73 74 20 63 64 20 | 66 6c 64 20 69 73 20 22 |last cd |fld is "|
|00001d10| 76 69 64 65 6f 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |video co|ntroller|
|00001d20| 22 29 20 74 68 65 6e 0d | 67 6c 6f 62 61 6c 20 67 |") then.|global g|
|00001d30| 44 69 73 63 53 69 64 65 | 0d 69 66 20 67 44 69 73 |DiscSide|.if gDis|
|00001d40| 63 53 69 64 65 20 3c 3e | 20 22 6e 6f 6e 65 22 20 |cSide <>| "none" |
|00001d50| 74 68 65 6e 0d 75 70 64 | 61 74 65 56 69 64 65 6f |then.upd|ateVideo|
|00001d60| 54 69 6d 65 0d 69 66 20 | 67 54 69 6d 65 52 65 6d |Time.if |gTimeRem|
|00001d70| 61 69 6e 69 6e 67 20 b2 | 20 30 20 74 68 65 6e 0d |aining .| 0 then.|
|00001d80| 69 66 20 67 56 69 64 65 | 6f 4c 61 73 74 43 6f 6d |if gVide|oLastCom|
|00001d90| 6d 61 6e 64 20 69 73 20 | 22 70 6c 61 79 22 20 74 |mand is |"play" t|
|00001da0| 68 65 6e 20 64 65 6c 65 | 74 65 56 69 64 65 6f 43 |hen dele|teVideoC|
|00001db0| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 70 75 74 20 65 6d |ontrolle|r.put em|
|00001dc0| 70 74 79 20 69 6e 74 6f | 20 67 54 69 6d 65 52 65 |pty into| gTimeRe|
|00001dd0| 6d 61 69 6e 69 6e 67 0d | 65 6e 64 20 69 66 0d 65 |maining.|end if.e|
|00001de0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00001df0| 20 69 66 0d 65 6e 64 20 | 69 64 6c 65 56 69 64 65 | if.end |idleVide|
|00001e00| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 0d 6f 6e 20 |oControl|ler..on |
|00001e10| 77 61 69 74 46 6f 72 4d | 6f 75 73 65 43 6c 69 63 |waitForM|ouseClic|
|00001e20| 6b 0d 65 78 69 74 20 77 | 61 69 74 46 6f 72 4d 6f |k.exit w|aitForMo|
|00001e30| 75 73 65 43 6c 69 63 6b | 0d 67 6c 6f 62 61 6c 20 |useClick|.global |
|00001e40| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 2c 20 |gTimeRem|aining, |
|00001e50| 67 43 6f 6e 74 72 6f 6c | 43 6c 69 63 6b 0d 2d 2d |gControl|Click.--|
|00001e60| 20 67 43 6f 6e 74 72 6f | 6c 43 6c 69 63 6b 20 63 | gContro|lClick c|
|00001e70| 6f 75 6e 74 73 20 68 6f | 77 20 6d 61 6e 79 20 74 |ounts ho|w many t|
|00001e80| 69 6d 65 73 20 77 61 69 | 74 46 6f 72 4d 6f 75 73 |imes wai|tForMous|
|00001e90| 65 43 6c 69 63 6b 20 68 | 61 73 20 62 65 65 6e 0d |eClick h|as been.|
|00001ea0| 2d 2d 20 69 6e 76 6f 6b | 65 64 2e 20 49 66 20 74 |-- invok|ed. If t|
|00001eb0| 68 65 20 75 73 65 72 20 | 63 6c 69 63 6b 73 20 74 |he user |clicks t|
|00001ec0| 68 65 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 20 28 64 |he contr|oller (d|
|00001ed0| 72 61 67 20 6f 72 20 70 | 6c 61 79 29 20 6d 6f 72 |rag or p|lay) mor|
|00001ee0| 65 0d 2d 2d 20 74 68 61 | 6e 20 36 20 74 69 6d 65 |e.-- tha|n 6 time|
|00001ef0| 73 2c 20 74 68 65 20 76 | 69 64 65 6f 20 61 6e 64 |s, the v|ideo and|
|00001f00| 20 74 68 65 20 63 6c 6f | 63 6b 20 77 69 6c 6c 20 | the clo|ck will |
|00001f10| 73 74 6f 70 2e 0d 2d 2d | 20 49 66 20 77 65 20 64 |stop..--| If we d|
|00001f20| 6f 6e 27 74 20 63 68 65 | 63 6b 20 74 68 69 73 2c |on't che|ck this,|
|00001f30| 20 74 68 65 20 75 73 65 | 72 20 63 6f 75 6c 64 20 | the use|r could |
|00001f40| 67 65 74 20 61 20 22 74 | 6f 6f 20 6d 75 63 68 20 |get a "t|oo much |
|00001f50| 72 65 63 75 72 73 69 6f | 6e 22 0d 2d 2d 20 64 69 |recursio|n".-- di|
|00001f60| 61 6c 6f 67 20 62 6f 78 | 2c 20 77 68 69 63 68 20 |alog box|, which |
|00001f70| 69 73 20 75 6e 61 63 63 | 65 70 74 61 62 6c 65 2e |is unacc|eptable.|
|00001f80| 0d 61 64 64 20 31 20 74 | 6f 20 67 43 6f 6e 74 72 |.add 1 t|o gContr|
|00001f90| 6f 6c 43 6c 69 63 6b 0d | 69 66 20 67 43 6f 6e 74 |olClick.|if gCont|
|00001fa0| 72 6f 6c 43 6c 69 63 6b | 20 3e 20 36 20 74 68 65 |rolClick| > 6 the|
|00001fb0| 6e 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 67 43 6f |n.put 0 |into gCo|
|00001fc0| 6e 74 72 6f 6c 43 6c 69 | 63 6b 0d 2d 2d 70 6c 61 |ntrolCli|ck.--pla|
|00001fd0| 79 20 62 6f 69 6e 67 0d | 73 74 6f 70 56 69 64 65 |y boing.|stopVide|
|00001fe0| 6f 0d 65 78 69 74 20 77 | 61 69 74 46 6f 72 4d 6f |o.exit w|aitForMo|
|00001ff0| 75 73 65 43 6c 69 63 6b | 0d 65 6e 64 20 69 66 0d |useClick|.end if.|
|00002000| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|00002010| 20 6d 6f 75 73 65 20 69 | 73 20 64 6f 77 6e 0d 69 | mouse i|s down.i|
|00002020| 66 20 67 54 69 6d 65 52 | 65 6d 61 69 6e 69 6e 67 |f gTimeR|emaining|
|00002030| 20 b2 20 30 20 74 68 65 | 6e 0d 64 65 6c 65 74 65 | . 0 the|n.delete|
|00002040| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|00002050| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00002060| 54 69 6d 65 52 65 6d 61 | 69 6e 69 6e 67 0d 65 78 |TimeRema|ining.ex|
|00002070| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00002080| 65 6e 64 20 69 66 0d 75 | 70 64 61 74 65 56 69 64 |end if.u|pdateVid|
|00002090| 65 6f 54 69 6d 65 0d 65 | 6e 64 20 72 65 70 65 61 |eoTime.e|nd repea|
|000020a0| 74 0d 63 68 65 63 6b 56 | 69 64 65 6f 43 6f 6e 74 |t.checkV|ideoCont|
|000020b0| 72 6f 6c 6c 65 72 0d 65 | 6e 64 20 77 61 69 74 46 |roller.e|nd waitF|
|000020c0| 6f 72 4d 6f 75 73 65 43 | 6c 69 63 6b 0d 0d 6f 6e |orMouseC|lick..on|
|000020d0| 20 75 70 64 61 74 65 56 | 69 64 65 6f 54 69 6d 65 | updateV|ideoTime|
|000020e0| 0d 67 6c 6f 62 61 6c 20 | 47 76 69 64 65 6f 4c 61 |.global |GvideoLa|
|000020f0| 73 74 46 72 61 6d 65 2c | 20 67 54 69 6d 65 52 65 |stFrame,| gTimeRe|
|00002100| 6d 61 69 6e 69 6e 67 0d | 70 75 74 20 28 47 76 69 |maining.|put (Gvi|
|00002110| 64 65 6f 4c 61 73 74 46 | 72 61 6d 65 20 2d 20 76 |deoLastF|rame - v|
|00002120| 69 64 65 6f 46 72 61 6d | 65 28 29 20 2b 20 32 39 |ideoFram|e() + 29|
|00002130| 29 20 64 69 76 20 33 30 | 20 69 6e 74 6f 20 67 54 |) div 30| into gT|
|00002140| 69 6d 65 52 65 6d 61 69 | 6e 69 6e 67 0d 69 66 20 |imeRemai|ning.if |
|00002150| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 20 b3 |gTimeRem|aining .|
|00002160| 20 30 20 61 6e 64 20 67 | 54 69 6d 65 52 65 6d 61 | 0 and g|TimeRema|
|00002170| 69 6e 69 6e 67 20 b2 20 | 36 30 30 20 74 68 65 6e |ining . |600 then|
|00002180| 0d 70 75 74 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |.put gTi|meRemain|
|00002190| 69 6e 67 20 64 69 76 20 | 36 30 20 26 20 22 3a 22 |ing div |60 & ":"|
|000021a0| 20 26 20 28 28 67 54 69 | 6d 65 52 65 6d 61 69 6e | & ((gTi|meRemain|
|000021b0| 69 6e 67 20 6d 6f 64 20 | 36 30 29 20 64 69 76 20 |ing mod |60) div |
|000021c0| 31 30 29 20 c2 0d 26 20 | 28 67 54 69 6d 65 52 65 |10) ..& |(gTimeRe|
|000021d0| 6d 61 69 6e 69 6e 67 20 | 6d 6f 64 20 31 30 29 20 |maining |mod 10) |
|000021e0| 69 6e 74 6f 20 6c 61 73 | 74 20 6c 69 6e 65 20 6f |into las|t line o|
|000021f0| 66 20 63 64 20 66 6c 64 | 20 22 76 69 64 65 6f 20 |f cd fld| "video |
|00002200| 63 6f 6e 74 72 6f 6c 6c | 65 72 22 0d 65 6e 64 20 |controll|er".end |
|00002210| 69 66 0d 65 6e 64 20 75 | 70 64 61 74 65 56 69 64 |if.end u|pdateVid|
|00002220| 65 6f 54 69 6d 65 0d 0d | 6f 6e 20 63 68 65 63 6b |eoTime..|on check|
|00002230| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|00002240| 69 66 20 74 68 65 20 6d | 6f 75 73 65 4c 6f 63 20 |if the m|ouseLoc |
|00002250| 69 73 20 77 69 74 68 69 | 6e 20 74 68 65 20 72 65 |is withi|n the re|
|00002260| 63 74 20 6f 66 20 63 64 | 20 66 6c 64 20 22 76 69 |ct of cd| fld "vi|
|00002270| 64 65 6f 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 22 20 |deo cont|roller" |
|00002280| 74 68 65 6e 0d 2d 2d 20 | 64 6f 20 74 68 69 73 20 |then.-- |do this |
|00002290| 77 69 74 68 6f 75 74 20 | 72 65 63 75 72 73 69 6f |without |recursio|
|000022a0| 6e 2c 20 73 6f 6d 65 68 | 6f 77 0d 73 65 6e 64 20 |n, someh|ow.send |
|000022b0| 76 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |videoCon|troller |
|000022c0| 74 6f 20 63 64 20 66 6c | 64 20 22 76 69 64 65 6f |to cd fl|d "video|
|000022d0| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 22 0d 2d 2d 65 | control|ler".--e|
|000022e0| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|000022f0| 0d 65 6c 73 65 0d 67 65 | 74 20 74 68 65 20 6d 6f |.else.ge|t the mo|
|00002300| 75 73 65 4c 6f 63 0d 63 | 6c 69 63 6b 20 61 74 20 |useLoc.c|lick at |
|00002310| 69 74 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |it.exit |to Hyper|
|00002320| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00002330| 63 68 65 63 6b 56 69 64 | 65 6f 43 6f 6e 74 72 6f |checkVid|eoContro|
|00002340| 6c 6c 65 72 0d 0d 6f 6e | 20 64 65 6c 65 74 65 56 |ller..on| deleteV|
|00002350| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 67 |ideoCont|roller.g|
|00002360| 6c 6f 62 61 6c 20 67 44 | 69 73 63 53 69 64 65 0d |lobal gD|iscSide.|
|00002370| 69 66 20 67 44 69 73 63 | 53 69 64 65 20 3c 3e 20 |if gDisc|Side <> |
|00002380| 22 6e 6f 6e 65 22 20 74 | 68 65 6e 20 73 74 6f 70 |"none" t|hen stop|
|00002390| 56 69 64 65 6f 0d 69 66 | 20 74 68 65 20 6e 75 6d |Video.if| the num|
|000023a0| 62 65 72 20 6f 66 20 63 | 64 20 66 6c 64 73 20 3e |ber of c|d flds >|
|000023b0| 20 30 20 74 68 65 6e 0d | 69 66 20 66 69 6e 64 46 | 0 then.|if findF|
|000023c0| 69 65 6c 64 28 22 56 69 | 64 65 6f 20 43 6f 6e 74 |ield("Vi|deo Cont|
|000023d0| 72 6f 6c 6c 65 72 22 29 | 20 69 73 20 6e 6f 74 20 |roller")| is not |
|000023e0| 66 61 6c 73 65 20 74 68 | 65 6e 0d 73 65 74 20 63 |false th|en.set c|
|000023f0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 6c |ursor to| watch.l|
|00002400| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 4f 6b 44 6f 4d |ock scre|en.OkDoM|
|00002410| 65 6e 75 0d 73 68 6f 77 | 20 63 64 20 66 6c 64 20 |enu.show| cd fld |
|00002420| 22 56 69 64 65 6f 20 43 | 6f 6e 74 72 6f 6c 6c 65 |"Video C|ontrolle|
|00002430| 72 22 0d 73 65 6c 65 63 | 74 20 63 64 20 66 6c 64 |r".selec|t cd fld|
|00002440| 20 22 56 69 64 65 6f 20 | 43 6f 6e 74 72 6f 6c 6c | "Video |Controll|
|00002450| 65 72 22 0d 64 6f 4d 65 | 6e 75 20 22 43 6c 65 61 |er".doMe|nu "Clea|
|00002460| 72 20 46 69 65 6c 64 22 | 0d 63 68 6f 6f 73 65 20 |r Field"|.choose |
|00002470| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 75 6e 6c 6f |browse t|ool.unlo|
|00002480| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 69 66 |ck scree|n.end if|
|00002490| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 65 6c 65 |.end if.|end dele|
|000024a0| 74 65 56 69 64 65 6f 43 | 6f 6e 74 72 6f 6c 6c 65 |teVideoC|ontrolle|
|000024b0| 72 0d 0d 6f 6e 20 76 69 | 64 65 6f 43 6c 6f 73 65 |r..on vi|deoClose|
|000024c0| 43 61 72 64 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |Card.if |the numb|
|000024d0| 65 72 20 6f 66 20 63 64 | 20 66 6c 64 73 20 3e 20 |er of cd| flds > |
|000024e0| 30 20 74 68 65 6e 0d 69 | 66 20 66 69 6e 64 46 69 |0 then.i|f findFi|
|000024f0| 65 6c 64 28 22 56 69 64 | 65 6f 20 43 6f 6e 74 72 |eld("Vid|eo Contr|
|00002500| 6f 6c 6c 65 72 22 29 20 | 69 73 20 6e 6f 74 20 66 |oller") |is not f|
|00002510| 61 6c 73 65 20 74 68 65 | 6e 0d 64 65 6c 65 74 65 |alse the|n.delete|
|00002520| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|00002530| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 73 65 |end if.e|nd if.se|
|00002540| 6e 64 20 22 74 75 72 6e | 56 69 64 65 6f 4f 66 66 |nd "turn|VideoOff|
|00002550| 22 20 74 6f 20 63 64 20 | 22 56 69 64 65 6f 4c 69 |" to cd |"VideoLi|
|00002560| 73 74 22 0d 65 6e 64 20 | 76 69 64 65 6f 43 6c 6f |st".end |videoClo|
|00002570| 73 65 43 61 72 64 0d 0d | 6f 6e 20 73 65 74 4e 6f |seCard..|on setNo|
|00002580| 56 69 64 65 6f 0d 67 6c | 6f 62 61 6c 20 67 44 69 |Video.gl|obal gDi|
|00002590| 73 63 53 69 64 65 0d 70 | 75 74 20 22 6e 6f 6e 65 |scSide.p|ut "none|
|000025a0| 22 20 69 6e 74 6f 20 67 | 44 69 73 63 53 69 64 65 |" into g|DiscSide|
|000025b0| 0d 65 6e 64 20 73 65 74 | 4e 6f 76 69 64 65 6f 0d |.end set|Novideo.|
|000025c0| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|000025d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 2d 2d 20 45 6e 64 |--------|-.-- End|
|00002610| 20 6f 66 20 56 69 64 65 | 6f 20 53 63 72 69 70 74 | of Vide|o Script|
|00002620| 20 76 65 72 73 69 6f 6e | 20 38 0d 0d 6f 6e 20 67 | version| 8..on g|
|00002630| 6f 55 70 0d 67 6f 55 70 | 54 6f 20 22 6d 61 69 6e |oUp.goUp|To "main|
|00002640| 20 6d 65 6e 75 22 0d 65 | 6e 64 20 67 6f 55 70 0d | menu".e|nd goUp.|
|00002650| 0d 2d 2d 2d 20 73 74 61 | 72 74 20 6f 66 20 76 69 |.--- sta|rt of vi|
|00002660| 64 65 6f 20 62 75 74 74 | 6f 6e 20 73 63 72 69 70 |deo butt|on scrip|
|00002670| 74 73 0d 6f 6e 20 76 69 | 64 65 6f 42 75 74 74 6f |ts.on vi|deoButto|
|00002680| 6e 0d 69 66 20 74 68 65 | 20 6c 6f 63 6b 73 63 72 |n.if the| lockscr|
|00002690| 65 65 6e 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |een is t|rue then|
|000026a0| 20 65 78 69 74 20 76 69 | 64 65 6f 62 75 74 74 6f | exit vi|deobutto|
|000026b0| 6e 0d 66 6c 61 73 68 42 | 74 6e 20 76 69 64 65 6f |n.flashB|tn video|
|000026c0| 62 67 2c 20 32 0d 72 65 | 70 65 61 74 20 77 69 74 |bg, 2.re|peat wit|
|000026d0| 68 20 78 20 3d 20 31 20 | 74 6f 20 33 0d 72 65 70 |h x = 1 |to 3.rep|
|000026e0| 65 61 74 20 77 69 74 68 | 20 63 74 72 20 3d 20 31 |eat with| ctr = 1|
|000026f0| 20 74 6f 20 33 0d 69 66 | 20 74 68 65 20 6d 6f 75 | to 3.if| the mou|
|00002700| 73 65 43 6c 69 63 6b 20 | 74 68 65 6e 0d 73 65 74 |seClick |then.set|
|00002710| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 74 6e | the ico|n of btn|
|00002720| 20 22 76 69 64 65 6f 22 | 20 74 6f 20 22 67 75 79 | "video"| to "guy|
|00002730| 20 31 22 0d 63 6c 69 63 | 6b 20 61 74 20 74 68 65 | 1".clic|k at the|
|00002740| 20 63 6c 69 63 6b 6c 6f | 63 0d 65 78 69 74 20 76 | clicklo|c.exit v|
|00002750| 69 64 65 6f 42 75 74 74 | 6f 6e 0d 65 6e 64 20 69 |ideoButt|on.end i|
|00002760| 66 0d 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |f.set th|e icon o|
|00002770| 66 20 62 74 6e 20 22 76 | 69 64 65 6f 22 20 74 6f |f btn "v|ideo" to|
|00002780| 20 22 67 75 79 22 20 26 | 26 20 63 74 72 0d 77 61 | "guy" &|& ctr.wa|
|00002790| 69 74 20 31 30 0d 65 6e | 64 20 72 65 70 65 61 74 |it 10.en|d repeat|
|000027a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 73 65 74 20 |.end rep|eat.set |
|000027b0| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 74 6e 20 |the icon| of btn |
|000027c0| 22 76 69 64 65 6f 22 20 | 74 6f 20 22 67 75 79 20 |"video" |to "guy |
|000027d0| 31 22 0d 65 6e 64 20 76 | 69 64 65 6f 42 75 74 74 |1".end v|ideoButt|
|000027e0| 6f 6e 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |on..----|--------|
|000027f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002800| 2d 20 20 53 54 55 44 45 | 4e 54 20 4f 50 54 49 4f |- STUDE|NT OPTIO|
|00002810| 4e 53 20 66 6f 6c 6c 6f | 77 20 2d 2d 2d 2d 2d 2d |NS follo|w ------|
|00002820| 2d 2d 2d 2d 0d 7c 2d 2d | 20 74 68 65 20 6f 70 74 |----.|--| the opt|
|00002830| 69 6f 6e 73 20 62 75 74 | 74 6f 6e 20 63 61 6c 6c |ions but|ton call|
|00002840| 73 20 75 70 20 61 20 70 | 61 6e 65 6c 20 6f 66 20 |s up a p|anel of |
|00002850| 73 65 72 76 69 63 65 73 | 0d 6f 6e 20 6e 65 77 4f |services|.on newO|
|00002860| 70 74 69 6f 6e 73 0d 4f | 70 74 69 6f 6e 73 0d 65 |ptions.O|ptions.e|
|00002870| 6e 64 20 6e 65 77 4f 70 | 74 69 6f 6e 73 0d 6f 6e |nd newOp|tions.on|
|00002880| 20 4f 70 74 69 6f 6e 73 | 0d 67 65 74 20 53 53 50 | Options|.get SSP|
|00002890| 61 6e 65 6c 28 29 0d 69 | 66 20 69 74 20 69 73 20 |anel().i|f it is |
|000028a0| 6e 6f 74 20 22 63 61 6e | 63 65 6c 22 20 74 68 65 |not "can|cel" the|
|000028b0| 6e 20 64 6f 20 69 74 0d | 65 6e 64 20 4f 70 74 69 |n do it.|end Opti|
|000028c0| 6f 6e 73 0d 0d 66 75 6e | 63 74 69 6f 6e 20 53 53 |ons..fun|ction SS|
|000028d0| 70 61 6e 65 6c 0d 73 65 | 74 20 63 75 72 73 6f 72 |panel.se|t cursor|
|000028e0| 20 74 6f 20 77 61 74 63 | 68 0d 73 65 74 57 69 6e | to watc|h.setWin|
|000028f0| 64 6f 77 20 31 0d 4e 65 | 77 57 69 6e 64 6f 77 20 |dow 1.Ne|wWindow |
|00002900| 32 31 37 2c 32 34 38 2c | 63 65 6e 74 65 72 65 64 |217,248,|centered|
|00002910| 2c 30 2c 32 2c 22 53 53 | 20 44 69 61 6c 6f 67 22 |,0,2,"SS| Dialog"|
|00002920| 2c 76 69 73 69 62 6c 65 | 0d 4e 65 77 49 74 65 6d |,visible|.NewItem|
|00002930| 20 70 69 63 74 75 72 65 | 2c 30 2c 30 2c 32 31 37 | picture|,0,0,217|
|00002940| 2c 32 34 38 2c 33 32 35 | 20 2d 2d 20 69 74 65 6d |,248,325| -- item|
|00002950| 20 31 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 42 | 1.NewIt|em RectB|
|00002960| 75 74 74 6f 6e 2c 32 30 | 2c 38 33 2c 37 32 2c 31 |utton,20|,83,72,1|
|00002970| 33 33 2c 41 63 74 69 76 | 65 2c c2 0d 2d 31 2c 22 |33,Activ|e,..-1,"|
|00002980| 69 6e 76 65 72 74 22 2c | 22 42 6f 6f 6b 6d 61 72 |invert",|"Bookmar|
|00002990| 6b 22 2c 6e 6f 43 6f 6c | 6f 72 2c 22 22 2c 22 22 |k",noCol|or,"",""|
|000029a0| 20 2d 2d 20 42 6f 6f 6b | 6d 61 72 6b 2c 20 69 74 | -- Book|mark, it|
|000029b0| 65 6d 20 32 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 2.New|Item Rec|
|000029c0| 74 42 75 74 74 6f 6e 2c | 38 32 2c 38 33 2c 31 33 |tButton,|82,83,13|
|000029d0| 34 2c 31 33 33 2c 41 63 | 74 69 76 65 2c c2 0d 2d |4,133,Ac|tive,..-|
|000029e0| 31 2c 22 69 6e 76 65 72 | 74 22 2c 22 4e 6f 74 65 |1,"inver|t","Note|
|000029f0| 62 6f 6f 6b 22 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |book",no|Color,""|
|00002a00| 2c 22 22 20 2d 2d 20 4e | 6f 74 65 2c 20 69 74 65 |,"" -- N|ote, ite|
|00002a10| 6d 20 33 0d 4e 65 77 49 | 74 65 6d 20 52 65 63 74 |m 3.NewI|tem Rect|
|00002a20| 42 75 74 74 6f 6e 2c 31 | 34 34 2c 38 33 2c 31 39 |Button,1|44,83,19|
|00002a30| 36 2c 31 33 33 2c 41 63 | 74 69 76 65 2c c2 0d 2d |6,133,Ac|tive,..-|
|00002a40| 31 2c 22 69 6e 76 65 72 | 74 22 2c 22 53 6e 61 70 |1,"inver|t","Snap|
|00002a50| 73 68 6f 74 22 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |shot",no|Color,""|
|00002a60| 2c 22 22 20 2d 2d 20 53 | 6e 61 70 53 68 6f 74 2c |,"" -- S|napShot,|
|00002a70| 20 20 49 74 65 6d 20 34 | 0d 4e 65 77 49 74 65 6d | Item 4|.NewItem|
|00002a80| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 32 30 2c 31 | RectBut|ton,20,1|
|00002a90| 34 33 2c 37 32 2c 31 39 | 33 2c 41 63 74 69 76 65 |43,72,19|3,Active|
|00002aa0| 2c c2 0d 2d 31 2c 22 69 | 6e 76 65 72 74 22 2c 22 |,..-1,"i|nvert","|
|00002ab0| 47 6c 6f 73 73 61 72 79 | 22 2c 6e 6f 43 6f 6c 6f |Glossary|",noColo|
|00002ac0| 72 2c 22 22 2c 22 22 20 | 2d 2d 20 47 6c 6f 73 73 |r,"","" |-- Gloss|
|00002ad0| 61 72 79 2c 20 49 74 65 | 6d 20 35 0d 4e 65 77 49 |ary, Ite|m 5.NewI|
|00002ae0| 74 65 6d 20 52 65 63 74 | 42 75 74 74 6f 6e 2c 38 |tem Rect|Button,8|
|00002af0| 32 2c 31 34 33 2c 31 33 | 34 2c 31 39 33 2c 41 63 |2,143,13|4,193,Ac|
|00002b00| 74 69 76 65 2c c2 0d 2d | 31 2c 22 69 6e 76 65 72 |tive,..-|1,"inver|
|00002b10| 74 22 2c 22 4d 61 70 22 | 2c 6e 6f 43 6f 6c 6f 72 |t","Map"|,noColor|
|00002b20| 2c 22 22 2c 22 22 20 2d | 2d 20 4d 61 70 2c 20 49 |,"","" -|- Map, I|
|00002b30| 74 65 6d 20 36 0d 4e 65 | 77 49 74 65 6d 20 52 65 |tem 6.Ne|wItem Re|
|00002b40| 63 74 42 75 74 74 6f 6e | 2c 31 34 34 2c 31 34 33 |ctButton|,144,143|
|00002b50| 2c 31 39 36 2c 31 39 33 | 2c 41 63 74 69 76 65 2c |,196,193|,Active,|
|00002b60| c2 0d 2d 31 2c 22 69 6e | 76 65 72 74 22 2c 22 48 |..-1,"in|vert","H|
|00002b70| 65 6c 70 22 2c 6e 6f 43 | 6f 6c 6f 72 2c 22 22 2c |elp",noC|olor,"",|
|00002b80| 22 22 20 2d 2d 20 48 65 | 6c 70 2c 20 49 74 65 6d |"" -- He|lp, Item|
|00002b90| 20 37 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 42 | 7.NewIt|em RectB|
|00002ba0| 75 74 74 6f 6e 2c 31 39 | 2c 32 30 34 2c 31 31 30 |utton,19|,204,110|
|00002bb0| 2c 32 33 30 2c 41 63 74 | 69 76 65 2c c2 0d 2d 31 |,230,Act|ive,..-1|
|00002bc0| 2c 22 69 6e 76 65 72 74 | 22 2c 22 71 75 69 74 4d |,"invert|","quitM|
|00002bd0| 46 22 2c 6e 6f 43 6f 6c | 6f 72 2c 22 22 2c 22 22 |F",noCol|or,"",""|
|00002be0| 20 2d 2d 20 51 75 69 74 | 2c 20 69 74 65 6d 20 38 | -- Quit|, item 8|
|00002bf0| 0d 4e 65 77 49 74 65 6d | 20 52 65 63 74 42 75 74 |.NewItem| RectBut|
|00002c00| 74 6f 6e 2c 31 32 34 2c | 32 30 34 2c 31 39 37 2c |ton,124,|204,197,|
|00002c10| 32 33 30 2c 41 63 74 69 | 76 65 2c c2 0d 2d 31 2c |230,Acti|ve,..-1,|
|00002c20| 22 69 6e 76 65 72 74 22 | 2c 22 63 61 6e 63 65 6c |"invert"|,"cancel|
|00002c30| 22 2c 6e 6f 63 6f 6c 6f | 72 2c 22 22 2c 22 22 20 |",nocolo|r,"","" |
|00002c40| 20 2d 2d 20 43 61 6e 63 | 65 6c 2c 20 69 74 65 6d | -- Canc|el, item|
|00002c50| 20 39 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f | 9.set c|ursor to|
|00002c60| 20 61 72 72 6f 77 0d 67 | 65 74 20 20 44 69 73 70 | arrow.g|et Disp|
|00002c70| 6c 61 79 20 28 31 35 2c | 31 20 29 0d 69 66 20 69 |lay (15,|1 ).if i|
|00002c80| 74 20 3d 20 22 74 69 6d | 65 6f 75 74 22 20 74 68 |t = "tim|eout" th|
|00002c90| 65 6e 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 72 65 |en.killW|indow.re|
|00002ca0| 74 75 72 6e 20 22 22 20 | 2d 2d 20 64 6f 20 6e 6f |turn "" |-- do no|
|00002cb0| 74 68 69 6e 67 0d 65 6e | 64 20 69 66 0d 6b 69 6c |thing.en|d if.kil|
|00002cc0| 6c 57 69 6e 64 6f 77 20 | 2d 2d 20 63 6c 65 61 6e |lWindow |-- clean|
|00002cd0| 20 75 70 0d 72 65 74 75 | 72 6e 20 69 74 65 6d 20 | up.retu|rn item |
|00002ce0| 34 20 6f 66 20 69 74 0d | 65 6e 64 20 53 53 70 61 |4 of it.|end SSpa|
|00002cf0| 6e 65 6c 0d 0d 2d 2d 20 | 74 68 69 73 20 68 61 6e |nel..-- |this han|
|00002d00| 64 6c 65 72 20 69 73 20 | 63 61 6c 6c 65 64 20 66 |dler is |called f|
|00002d10| 72 6f 6d 20 61 6c 6c 20 | 73 74 61 63 6b 73 0d 6f |rom all |stacks.o|
|00002d20| 6e 20 42 6f 6f 6b 4d 61 | 72 6b 0d 2d 2d 20 73 74 |n BookMa|rk.-- st|
|00002d30| 75 66 66 20 66 72 6f 6d | 20 4d 46 42 20 4d 61 72 |uff from| MFB Mar|
|00002d40| 6b 50 6c 61 63 65 0d 67 | 6c 6f 62 61 6c 20 67 4c |kPlace.g|lobal gL|
|00002d50| 61 73 74 50 6c 61 63 65 | 2c 67 50 6c 61 63 65 4e |astPlace|,gPlaceN|
|00002d60| 61 6d 65 73 2c 20 67 50 | 6c 61 63 65 73 2c 67 43 |ames, gP|laces,gC|
|00002d70| 75 72 4e 6f 64 65 0d 73 | 65 74 57 69 6e 64 6f 77 |urNode.s|etWindow|
|00002d80| 20 31 0d 4e 65 77 57 69 | 6e 64 6f 77 20 32 39 30 | 1.NewWi|ndow 290|
|00002d90| 2c 32 32 32 2c 63 65 6e | 74 65 72 65 64 2c 30 2c |,222,cen|tered,0,|
|00002da0| 31 2c 22 42 6f 6f 6b 6d | 61 72 6b 20 44 69 61 6c |1,"Bookm|ark Dial|
|00002db0| 6f 67 22 2c 76 69 73 69 | 62 6c 65 0d 70 75 74 20 |og",visi|ble.put |
|00002dc0| 22 53 74 75 64 65 6e 74 | 20 53 65 72 76 69 63 65 |"Student| Service|
|00002dd0| 73 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 42 |s" & ret|urn & "B|
|00002de0| 6f 6f 6b 6d 61 72 6b 22 | 20 69 6e 74 6f 20 74 68 |ookmark"| into th|
|00002df0| 65 54 65 78 74 0d 4e 65 | 77 49 74 65 6d 20 53 74 |eText.Ne|wItem St|
|00002e00| 61 74 69 63 54 65 78 74 | 2c 35 39 2c 36 2c 31 39 |aticText|,59,6,19|
|00002e10| 32 2c 34 38 2c 74 68 65 | 54 65 78 74 2c 22 42 20 |2,48,the|Text,"B |
|00002e20| 67 61 72 61 6d 6f 6e 64 | 20 62 6f 6c 64 22 2c 32 |garamond| bold",2|
|00002e30| 30 2c 70 6c 61 69 6e 0d | 2d 2d 20 69 74 65 6d 20 |0,plain.|-- item |
|00002e40| 31 0d 4e 65 77 49 74 65 | 6d 20 52 65 63 74 42 75 |1.NewIte|m RectBu|
|00002e50| 74 74 6f 6e 2c 31 37 2c | 38 2c 36 31 2c 34 35 2c |tton,17,|8,61,45,|
|00002e60| c2 0d 22 4e 6f 74 41 63 | 74 69 76 65 22 2c 31 37 |.."NotAc|tive",17|
|00002e70| 34 32 2c 22 64 6f 6e 74 | 69 6e 76 65 72 74 22 2c |42,"dont|invert",|
|00002e80| 65 6d 70 74 79 2c 6e 6f | 43 6f 6c 6f 72 2c 22 22 |empty,no|Color,""|
|00002e90| 2c 22 22 0d 2d 2d 20 20 | 62 6f 6f 6b 6d 61 72 6b |,"".-- |bookmark|
|00002ea0| 20 67 72 61 70 68 69 63 | 20 69 74 65 6d 20 32 0d | graphic| item 2.|
|00002eb0| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 61 6e 67 6c |NewItem |Rectangl|
|00002ec0| 65 2c 30 2c 35 33 2c 32 | 39 30 2c 35 34 2c 31 20 |e,0,53,2|90,54,1 |
|00002ed0| 2d 2d 20 69 74 65 6d 20 | 33 2c 20 64 65 63 6f 72 |-- item |3, decor|
|00002ee0| 61 74 69 76 65 20 72 75 | 6c 65 0d 4e 65 77 49 74 |ative ru|le.NewIt|
|00002ef0| 65 6d 20 53 74 61 74 69 | 63 54 65 78 74 2c 32 34 |em Stati|cText,24|
|00002f00| 2c 36 30 2c 31 35 37 2c | 37 39 2c c2 0d 22 42 6f |,60,157,|79,.."Bo|
|00002f10| 6f 6b 6d 61 72 6b 20 69 | 6e 3a 22 2c 47 61 72 61 |okmark i|n:",Gara|
|00002f20| 6d 6f 6e 64 2c 31 36 2c | 70 6c 61 69 6e 20 2d 2d |mond,16,|plain --|
|00002f30| 20 69 74 65 6d 20 34 0d | 4e 65 77 49 74 65 6d 20 | item 4.|NewItem |
|00002f40| 53 74 61 74 69 63 54 65 | 78 74 2c 32 34 2b 33 2c |StaticTe|xt,24+3,|
|00002f50| 37 39 2c 32 36 30 2c 39 | 35 2c c2 0d 6d 61 6b 65 |79,260,9|5,..make|
|00002f60| 53 74 61 6d 70 28 29 2c | 22 43 68 69 63 61 67 6f |Stamp(),|"Chicago|
|00002f70| 22 2c 31 32 2c 70 6c 61 | 69 6e 20 2d 2d 20 69 74 |",12,pla|in -- it|
|00002f80| 65 6d 20 35 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 5.New|Item Rec|
|00002f90| 74 61 6e 67 6c 65 2c 32 | 34 2c 37 38 2c 32 36 38 |tangle,2|4,78,268|
|00002fa0| 2c 39 37 2c 31 20 2d 2d | 49 74 65 6d 20 36 0d 4e |,97,1 --|Item 6.N|
|00002fb0| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|00002fc0| 74 2c 32 34 2c 31 30 33 | 2c 32 36 38 2c 31 32 33 |t,24,103|,268,123|
|00002fd0| 2c c2 0d 22 42 6f 6f 6b | 6d 61 72 6b 20 6e 61 6d |,.."Book|mark nam|
|00002fe0| 65 20 28 6f 70 74 69 6f | 6e 61 6c 29 3a 22 2c 47 |e (optio|nal):",G|
|00002ff0| 61 72 61 6d 6f 6e 64 2c | 31 36 2c 70 6c 61 69 6e |aramond,|16,plain|
|00003000| 20 2d 2d 20 69 74 65 6d | 20 37 0d 4e 65 77 49 74 | -- item| 7.NewIt|
|00003010| 65 6d 20 45 64 69 74 54 | 65 78 74 2c 32 34 2c 31 |em EditT|ext,24,1|
|00003020| 32 30 2c 32 36 38 2c 31 | 34 31 2c c2 0d 65 6d 70 |20,268,1|41,..emp|
|00003030| 74 79 2c 22 43 68 69 63 | 61 67 6f 22 2c 31 32 2c |ty,"Chic|ago",12,|
|00003040| 70 6c 61 69 6e 2c 6e 6f | 53 63 72 6f 6c 6c 2c 68 |plain,no|Scroll,h|
|00003050| 61 73 43 75 72 73 6f 72 | 20 2d 2d 20 69 74 65 6d |asCursor| -- item|
|00003060| 20 38 0d 4e 65 77 49 74 | 65 6d 20 52 6f 75 6e 64 | 8.NewIt|em Round|
|00003070| 42 75 74 74 6f 6e 2c 32 | 34 2c 31 36 31 2c 31 34 |Button,2|4,161,14|
|00003080| 30 2c 31 38 37 2c c2 0d | 22 43 72 65 61 74 65 20 |0,187,..|"Create |
|00003090| 6d 61 72 6b 22 2c 31 33 | 2c 6e 6f 43 6f 6d 6d 61 |mark",13|,noComma|
|000030a0| 6e 64 2c 22 22 20 2d 2d | 20 69 74 65 6d 20 38 0d |nd,"" --| item 8.|
|000030b0| 4e 65 77 49 74 65 6d 20 | 52 6f 75 6e 64 42 75 74 |NewItem |RoundBut|
|000030c0| 74 6f 6e 2c 31 35 32 2c | 31 36 34 2c 32 36 38 2c |ton,152,|164,268,|
|000030d0| 31 38 34 20 2c c2 0d 22 | 43 61 6e 63 65 6c 22 2c |184 ,.."|Cancel",|
|000030e0| 63 68 61 72 54 6f 4e 75 | 6d 28 22 2e 22 29 2c 43 |charToNu|m("."),C|
|000030f0| 6f 6d 6d 61 6e 64 2c 22 | 22 20 2d 2d 20 69 74 65 |ommand,"|" -- ite|
|00003100| 6d 20 31 30 0d 4e 65 77 | 49 74 65 6d 20 52 6f 75 |m 10.New|Item Rou|
|00003110| 6e 64 42 75 74 74 6f 6e | 2c 32 34 2c 31 39 36 2c |ndButton|,24,196,|
|00003120| 31 34 30 2c 32 31 36 2c | c2 0d 22 47 6f 20 74 6f |140,216,|.."Go to|
|00003130| 20 6c 61 73 74 20 6d 61 | 72 6b 22 2c 31 34 2c 6e | last ma|rk",14,n|
|00003140| 6f 43 6f 6d 6d 61 6e 64 | 2c 22 22 20 2d 2d 20 69 |oCommand|,"" -- i|
|00003150| 74 65 6d 20 31 31 0d 4e | 65 77 49 74 65 6d 20 52 |tem 11.N|ewItem R|
|00003160| 6f 75 6e 64 42 75 74 74 | 6f 6e 2c 31 35 32 2c 31 |oundButt|on,152,1|
|00003170| 39 36 2c 32 36 38 2c 32 | 31 36 2c c2 0d 22 53 65 |96,268,2|16,.."Se|
|00003180| 6c 65 63 74 20 61 20 6d | 61 72 6b 22 2c 31 35 2c |lect a m|ark",15,|
|00003190| 6e 6f 43 6f 6d 6d 61 6e | 64 2c 22 22 20 2d 2d 20 |noComman|d,"" -- |
|000031a0| 69 74 65 6d 20 31 32 0d | 73 65 74 20 63 75 72 73 |item 12.|set curs|
|000031b0| 6f 72 20 74 6f 20 61 72 | 72 6f 77 0d 67 65 74 20 |or to ar|row.get |
|000031c0| 20 44 69 73 70 6c 61 79 | 20 28 31 38 30 2c 31 29 | Display| (180,1)|
|000031d0| 0d 2d 2d 20 4b 69 6c 6c | 20 74 68 65 20 77 69 6e |.-- Kill| the win|
|000031e0| 64 6f 77 20 61 66 74 65 | 72 20 61 20 74 69 6d 65 |dow afte|r a time|
|000031f0| 6f 75 74 0d 69 66 20 69 | 74 20 3d 20 22 74 69 6d |out.if i|t = "tim|
|00003200| 65 6f 75 74 22 20 74 68 | 65 6e 0d 2d 2d 20 64 65 |eout" th|en.-- de|
|00003210| 6c 65 74 65 20 6c 61 73 | 74 20 69 74 65 6d 20 6f |lete las|t item o|
|00003220| 66 20 77 68 65 72 65 57 | 65 43 61 6d 65 46 72 6f |f whereW|eCameFro|
|00003230| 6d 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 72 65 74 |m.killWi|ndow.ret|
|00003240| 75 72 6e 20 22 63 61 6e | 63 65 6c 22 0d 65 6e 64 |urn "can|cel".end|
|00003250| 20 69 66 0d 0d 2d 2d 20 | 69 66 20 69 74 20 64 69 | if..-- |if it di|
|00003260| 64 6e 27 74 20 74 69 6d | 65 20 6f 75 74 2c 20 73 |dn't tim|e out, s|
|00003270| 65 65 20 77 68 61 74 20 | 74 68 65 20 75 73 65 72 |ee what |the user|
|00003280| 20 63 68 6f 73 65 0d 70 | 75 74 20 69 74 65 6d 20 | chose.p|ut item |
|00003290| 34 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 75 73 65 |4 of it |into use|
|000032a0| 72 50 69 63 6b 65 64 0d | 69 66 20 75 73 65 72 50 |rPicked.|if userP|
|000032b0| 69 63 6b 65 64 20 69 73 | 20 22 43 72 65 61 74 65 |icked is| "Create|
|000032c0| 20 6d 61 72 6b 22 20 74 | 68 65 6e 20 2d 2d 20 63 | mark" t|hen -- c|
|000032d0| 72 65 61 74 65 20 61 20 | 6e 65 77 20 62 6f 6f 6b |reate a |new book|
|000032e0| 6d 61 72 6b 0d 70 75 74 | 20 69 74 65 6d 20 32 20 |mark.put| item 2 |
|000032f0| 6f 66 20 20 47 65 74 56 | 61 6c 75 65 28 22 49 74 |of GetV|alue("It|
|00003300| 65 6d 22 2c 35 29 20 69 | 6e 74 6f 20 70 6c 61 63 |em",5) i|nto plac|
|00003310| 65 6e 61 6d 65 2d 2d 20 | 74 68 65 20 62 6f 6f 6b |ename-- |the book|
|00003320| 6d 61 72 6b 20 73 74 61 | 6d 70 0d 67 65 74 20 69 |mark sta|mp.get i|
|00003330| 74 65 6d 20 32 20 6f 66 | 20 67 65 74 56 61 6c 75 |tem 2 of| getValu|
|00003340| 65 28 22 49 74 65 6d 22 | 2c 38 29 20 2d 2d 20 74 |e("Item"|,8) -- t|
|00003350| 68 65 20 6f 70 74 69 6f | 6e 61 6c 20 74 69 74 6c |he optio|nal titl|
|00003360| 65 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |e.if it |is not "|
|00003370| 22 20 74 68 65 6e 20 70 | 75 74 20 22 20 a5 20 22 |" then p|ut " . "|
|00003380| 20 26 20 69 74 20 61 66 | 74 65 72 20 70 6c 61 63 | & it af|ter plac|
|00003390| 65 4e 61 6d 65 0d 69 66 | 20 70 6c 61 63 65 4e 61 |eName.if| placeNa|
|000033a0| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|000033b0| 74 68 65 6e 0d 70 75 74 | 20 70 6c 61 63 65 4e 61 |then.put| placeNa|
|000033c0| 6d 65 20 26 20 72 65 74 | 75 72 6e 20 62 65 66 6f |me & ret|urn befo|
|000033d0| 72 65 20 67 50 6c 61 63 | 65 4e 61 6d 65 73 0d 70 |re gPlac|eNames.p|
|000033e0| 75 74 20 67 65 74 43 61 | 72 64 4e 61 6d 65 28 29 |ut getCa|rdName()|
|000033f0| 20 69 6e 74 6f 20 67 4c | 61 73 74 50 6c 61 63 65 | into gL|astPlace|
|00003400| 0d 70 75 74 20 67 4c 61 | 73 74 50 6c 61 63 65 20 |.put gLa|stPlace |
|00003410| 26 20 22 2c 22 20 26 20 | 67 43 75 72 4e 6f 64 65 |& "," & |gCurNode|
|00003420| 20 26 20 72 65 74 75 72 | 6e 20 62 65 66 6f 72 65 | & retur|n before|
|00003430| 20 67 50 6c 61 63 65 73 | 0d 65 6e 64 20 69 66 0d | gPlaces|.end if.|
|00003440| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 65 6c 73 65 20 |killWind|ow.else |
|00003450| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|00003460| 20 22 47 6f 20 74 6f 20 | 6c 61 73 74 20 6d 61 72 | "Go to |last mar|
|00003470| 6b 22 20 74 68 65 6e 20 | 2d 2d 20 67 6f 20 74 6f |k" then |-- go to|
|00003480| 20 6c 61 73 74 20 6d 61 | 72 6b 0d 6b 69 6c 6c 57 | last ma|rk.killW|
|00003490| 69 6e 64 6f 77 0d 4c 61 | 73 74 50 6c 61 63 65 0d |indow.La|stPlace.|
|000034a0| 65 6c 73 65 20 69 66 20 | 75 73 65 72 50 69 63 6b |else if |userPick|
|000034b0| 65 64 20 69 73 20 22 53 | 65 6c 65 63 74 20 61 20 |ed is "S|elect a |
|000034c0| 6d 61 72 6b 22 20 74 68 | 65 6e 20 2d 2d 20 73 65 |mark" th|en -- se|
|000034d0| 6c 65 63 74 20 6d 61 72 | 6b 20 66 72 6d 20 62 6f |lect mar|k frm bo|
|000034e0| 6f 6b 6d 61 72 6b 0d 6b | 69 6c 6c 57 69 6e 64 6f |okmark.k|illWindo|
|000034f0| 77 0d 67 6f 42 6f 6f 6b | 4d 61 72 6b 0d 65 6c 73 |w.goBook|Mark.els|
|00003500| 65 20 2d 2d 20 6d 75 73 | 74 20 62 65 20 43 61 6e |e -- mus|t be Can|
|00003510| 63 65 6c 0d 6b 69 6c 6c | 57 69 6e 64 6f 77 0d 65 |cel.kill|Window.e|
|00003520| 6e 64 20 69 66 0d 65 6e | 64 20 42 6f 6f 6b 4d 61 |nd if.en|d BookMa|
|00003530| 72 6b 0d 0d 6f 6e 20 4c | 61 73 74 50 6c 61 63 65 |rk..on L|astPlace|
|00003540| 0d 67 6c 6f 62 61 6c 20 | 67 4c 61 73 74 50 6c 61 |.global |gLastPla|
|00003550| 63 65 2c 20 67 43 75 72 | 4e 6f 64 65 0d 70 75 74 |ce, gCur|Node.put|
|00003560| 20 67 65 74 43 61 72 64 | 4e 61 6d 65 28 29 20 26 | getCard|Name() &|
|00003570| 20 22 2c 22 20 26 20 67 | 43 75 72 4e 6f 64 65 20 | "," & g|CurNode |
|00003580| 69 6e 74 6f 20 6c 61 73 | 74 50 6c 61 63 65 0d 67 |into las|tPlace.g|
|00003590| 65 74 20 69 74 65 6d 20 | 31 20 6f 66 20 67 4c 61 |et item |1 of gLa|
|000035a0| 73 74 50 6c 61 63 65 0d | 69 66 20 69 74 20 69 73 |stPlace.|if it is|
|000035b0| 20 6e 6f 74 20 22 22 20 | 74 68 65 6e 0d 67 6f 20 | not "" |then.go |
|000035c0| 69 74 65 6d 20 31 20 6f | 66 20 67 4c 61 73 74 50 |item 1 o|f gLastP|
|000035d0| 6c 61 63 65 0d 70 75 74 | 20 6c 61 73 74 50 6c 61 |lace.put| lastPla|
|000035e0| 63 65 20 69 6e 74 6f 20 | 67 4c 61 73 74 50 6c 61 |ce into |gLastPla|
|000035f0| 63 65 0d 65 6c 73 65 0d | 61 6e 73 77 65 72 20 22 |ce.else.|answer "|
|00003600| 53 6f 72 72 79 2c 20 79 | 6f 75 20 68 61 76 65 6e |Sorry, y|ou haven|
|00003610| d5 74 20 6d 61 64 65 20 | 61 6e 79 20 42 6f 6f 6b |.t made |any Book|
|00003620| 6d 61 72 6b 73 2e 22 20 | 77 69 74 68 20 22 4f 4b |marks." |with "OK|
|00003630| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 4c 61 73 |".end if|.end Las|
|00003640| 74 50 6c 61 63 65 0d 0d | 6f 6e 20 67 6f 42 6f 6f |tPlace..|on goBoo|
|00003650| 6b 4d 61 72 6b 0d 67 6c | 6f 62 61 6c 20 67 4c 61 |kMark.gl|obal gLa|
|00003660| 73 74 50 6c 61 63 65 2c | 67 50 6c 61 63 65 4e 61 |stPlace,|gPlaceNa|
|00003670| 6d 65 73 2c 20 67 50 6c | 61 63 65 73 2c 20 67 52 |mes, gPl|aces, gR|
|00003680| 65 63 65 6e 74 50 6c 61 | 63 65 2c 67 43 75 72 4e |ecentPla|ce,gCurN|
|00003690| 6f 64 65 0d 70 75 73 68 | 20 63 61 72 64 0d 70 75 |ode.push| card.pu|
|000036a0| 74 20 67 65 74 43 61 72 | 64 4e 61 6d 65 28 29 20 |t getCar|dName() |
|000036b0| 26 20 22 2c 22 20 26 20 | 67 43 75 72 4e 6f 64 65 |& "," & |gCurNode|
|000036c0| 20 69 6e 74 6f 20 67 52 | 65 63 65 6e 74 50 6c 61 | into gR|ecentPla|
|000036d0| 63 65 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |ce.lock |screen.g|
|000036e0| 6f 20 74 6f 20 63 61 72 | 64 20 22 42 6f 6f 6b 4d |o to car|d "BookM|
|000036f0| 61 72 6b 22 20 6f 66 20 | 73 74 61 63 6b 20 22 4d |ark" of |stack "M|
|00003700| 46 20 42 6f 6f 6b 4d 61 | 72 6b 22 0d 70 75 74 20 |F BookMa|rk".put |
|00003710| 67 50 6c 61 63 65 4e 61 | 6d 65 73 20 69 6e 74 6f |gPlaceNa|mes into|
|00003720| 20 66 69 65 6c 64 20 22 | 50 6c 61 63 65 4c 69 73 | field "|PlaceLis|
|00003730| 74 22 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |t".unloc|k screen|
|00003740| 20 77 69 74 68 20 76 69 | 73 75 61 6c 20 65 66 66 | with vi|sual eff|
|00003750| 65 63 74 20 69 72 69 73 | 20 6f 70 65 6e 0d 65 6e |ect iris| open.en|
|00003760| 64 20 67 6f 42 6f 6f 6b | 4d 61 72 6b 0d 0d 2d 2d |d goBook|Mark..--|
|00003770| 20 74 68 69 73 20 68 61 | 6e 64 6c 65 72 20 69 73 | this ha|ndler is|
|00003780| 20 63 61 6c 6c 65 64 20 | 66 72 6f 6d 20 61 6c 6c | called |from all|
|00003790| 20 73 74 61 63 6b 73 0d | 6f 6e 20 4e 6f 74 65 42 | stacks.|on NoteB|
|000037a0| 6f 6f 6b 0d 67 6c 6f 62 | 61 6c 20 67 53 74 75 64 |ook.glob|al gStud|
|000037b0| 65 6e 74 4e 61 6d 65 0d | 73 65 74 57 69 6e 64 6f |entName.|setWindo|
|000037c0| 77 20 31 0d 4e 65 77 57 | 69 6e 64 6f 77 20 32 39 |w 1.NewW|indow 29|
|000037d0| 30 2c 32 39 30 2c 63 65 | 6e 74 65 72 65 64 2c 30 |0,290,ce|ntered,0|
|000037e0| 2c 31 2c 22 4e 6f 74 65 | 22 2c 76 69 73 69 62 6c |,1,"Note|",visibl|
|000037f0| 65 0d 70 75 74 20 22 53 | 74 75 64 65 6e 74 20 53 |e.put "S|tudent S|
|00003800| 65 72 76 69 63 65 73 22 | 20 26 20 72 65 74 75 72 |ervices"| & retur|
|00003810| 6e 20 26 20 22 4e 6f 74 | 65 22 20 69 6e 74 6f 20 |n & "Not|e" into |
|00003820| 74 68 65 54 65 78 74 0d | 4e 65 77 49 74 65 6d 20 |theText.|NewItem |
|00003830| 53 74 61 74 69 63 54 65 | 78 74 2c 35 39 2c 36 2c |StaticTe|xt,59,6,|
|00003840| 31 39 32 2c 34 38 2c 74 | 68 65 54 65 78 74 2c 22 |192,48,t|heText,"|
|00003850| 42 20 67 61 72 61 6d 6f | 6e 64 20 62 6f 6c 64 22 |B garamo|nd bold"|
|00003860| 2c 32 30 2c 70 6c 61 69 | 6e 0d 2d 2d 20 69 74 65 |,20,plai|n.-- ite|
|00003870| 6d 20 31 0d 4e 65 77 49 | 74 65 6d 20 52 65 63 74 |m 1.NewI|tem Rect|
|00003880| 42 75 74 74 6f 6e 2c 31 | 37 2c 38 2c 36 31 2c 34 |Button,1|7,8,61,4|
|00003890| 35 2c 4e 6f 74 41 63 74 | 69 76 65 2c c2 0d 31 37 |5,NotAct|ive,..17|
|000038a0| 35 32 36 2c 22 64 6f 6e | 74 69 6e 76 65 72 74 22 |526,"don|tinvert"|
|000038b0| 2c 65 6d 70 74 79 2c 6e | 6f 43 6f 6c 6f 72 2c 22 |,empty,n|oColor,"|
|000038c0| 22 2c 22 22 20 2d 2d 20 | 4e 6f 74 65 20 69 63 6f |","" -- |Note ico|
|000038d0| 6e 2c 20 20 49 74 65 6d | 20 32 0d 4e 65 77 49 74 |n, Item| 2.NewIt|
|000038e0| 65 6d 20 52 65 63 74 61 | 6e 67 6c 65 2c 30 2c 35 |em Recta|ngle,0,5|
|000038f0| 33 2c 32 39 30 2c 35 34 | 2c 31 20 2d 2d 20 69 74 |3,290,54|,1 -- it|
|00003900| 65 6d 20 33 2c 20 64 65 | 63 6f 72 61 74 69 76 65 |em 3, de|corative|
|00003910| 20 72 75 6c 65 0d 4e 65 | 77 49 74 65 6d 20 53 74 | rule.Ne|wItem St|
|00003920| 61 74 69 63 54 65 78 74 | 2c 32 34 2c 36 30 2c 31 |aticText|,24,60,1|
|00003930| 35 37 2c 37 39 2c c2 0d | 22 4e 6f 74 65 20 69 6e |57,79,..|"Note in|
|00003940| 3a 22 2c 47 61 72 61 6d | 6f 6e 64 2c 31 36 2c 70 |:",Garam|ond,16,p|
|00003950| 6c 61 69 6e 20 2d 2d 20 | 69 74 65 6d 20 34 0d 4e |lain -- |item 4.N|
|00003960| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|00003970| 74 2c 32 34 2b 33 2c 37 | 39 2c 32 36 30 2c 39 35 |t,24+3,7|9,260,95|
|00003980| 2c c2 0d 6d 61 6b 65 53 | 74 61 6d 70 28 29 2c 22 |,..makeS|tamp(),"|
|00003990| 43 68 69 63 61 67 6f 22 | 2c 31 32 2c 70 6c 61 69 |Chicago"|,12,plai|
|000039a0| 6e 20 2d 2d 20 69 74 65 | 6d 20 35 0d 4e 65 77 49 |n -- ite|m 5.NewI|
|000039b0| 74 65 6d 20 52 65 63 74 | 61 6e 67 6c 65 2c 32 34 |tem Rect|angle,24|
|000039c0| 2c 37 38 2c 32 36 38 2c | 39 37 2c 31 20 2d 2d 49 |,78,268,|97,1 --I|
|000039d0| 74 65 6d 20 36 0d 4e 65 | 77 49 74 65 6d 20 53 74 |tem 6.Ne|wItem St|
|000039e0| 61 74 69 63 54 65 78 74 | 2c 32 34 2c 31 30 33 2c |aticText|,24,103,|
|000039f0| 32 36 38 2c 31 32 33 2c | c2 0d 22 54 79 70 65 20 |268,123,|.."Type |
|00003a00| 6e 6f 74 65 20 68 65 72 | 65 3a 22 2c 47 61 72 61 |note her|e:",Gara|
|00003a10| 6d 6f 6e 64 2c 31 36 2c | 70 6c 61 69 6e 20 2d 2d |mond,16,|plain --|
|00003a20| 20 49 74 65 6d 20 37 0d | 4e 65 77 49 74 65 6d 20 | Item 7.|NewItem |
|00003a30| 45 64 69 74 54 65 78 74 | 2c 32 34 2c 31 32 30 2c |EditText|,24,120,|
|00003a40| 32 36 39 2c 32 32 30 2c | c2 0d 22 22 2c 47 65 6e |269,220,|.."",Gen|
|00003a50| 65 76 61 2c 31 32 2c 70 | 6c 61 69 6e 2c 68 61 73 |eva,12,p|lain,has|
|00003a60| 53 63 72 6f 6c 6c 2c 68 | 61 73 43 75 72 73 6f 72 |Scroll,h|asCursor|
|00003a70| 20 2d 2d 20 49 74 65 6d | 20 38 0d 4e 65 77 49 74 | -- Item| 8.NewIt|
|00003a80| 65 6d 20 52 6f 75 6e 64 | 42 75 74 74 6f 6e 2c 32 |em Round|Button,2|
|00003a90| 34 2c 32 32 39 2c 31 34 | 30 2c 32 35 35 2c c2 0d |4,229,14|0,255,..|
|00003aa0| 22 53 61 76 65 20 6e 6f | 74 65 22 2c 31 33 2c 6e |"Save no|te",13,n|
|00003ab0| 6f 43 6f 6d 6d 61 6e 64 | 2c 22 22 20 2d 2d 20 69 |oCommand|,"" -- i|
|00003ac0| 74 65 6d 20 39 0d 4e 65 | 77 49 74 65 6d 20 52 6f |tem 9.Ne|wItem Ro|
|00003ad0| 75 6e 64 42 75 74 74 6f | 6e 2c 31 35 32 2c 32 33 |undButto|n,152,23|
|00003ae0| 32 2c 32 36 38 2c 32 35 | 32 20 2c c2 0d 22 54 65 |2,268,25|2 ,.."Te|
|00003af0| 6c 6c 20 41 70 70 6c 65 | 22 2c 31 30 2c 6e 6f 43 |ll Apple|",10,noC|
|00003b00| 6f 6d 6d 61 6e 64 2c 22 | 22 20 2d 2d 20 69 74 65 |ommand,"|" -- ite|
|00003b10| 6d 20 31 30 0d 4e 65 77 | 49 74 65 6d 20 52 6f 75 |m 10.New|Item Rou|
|00003b20| 6e 64 42 75 74 74 6f 6e | 2c 32 34 2c 32 36 34 2c |ndButton|,24,264,|
|00003b30| 31 34 30 2c 32 38 34 2c | c2 0d 22 47 6f 20 74 6f |140,284,|.."Go to|
|00003b40| 20 4e 6f 74 65 62 6f 6f | 6b 22 2c 31 31 2c 6e 6f | Noteboo|k",11,no|
|00003b50| 43 6f 6d 6d 61 6e 64 2c | 22 22 20 2d 2d 20 69 74 |Command,|"" -- it|
|00003b60| 65 6d 20 31 31 0d 4e 65 | 77 49 74 65 6d 20 52 6f |em 11.Ne|wItem Ro|
|00003b70| 75 6e 64 42 75 74 74 6f | 6e 2c 31 35 32 2c 32 36 |undButto|n,152,26|
|00003b80| 34 2c 32 36 38 2c 32 38 | 34 20 2c c2 0d 22 43 61 |4,268,28|4 ,.."Ca|
|00003b90| 6e 63 65 6c 22 2c 63 68 | 61 72 54 6f 4e 75 6d 28 |ncel",ch|arToNum(|
|00003ba0| 22 2e 22 29 2c 43 6f 6d | 6d 61 6e 64 2c 22 22 20 |"."),Com|mand,"" |
|00003bb0| 2d 2d 20 69 74 65 6d 20 | 31 32 0d 73 65 74 20 63 |-- item |12.set c|
|00003bc0| 75 72 73 6f 72 20 74 6f | 20 61 72 72 6f 77 0d 67 |ursor to| arrow.g|
|00003bd0| 65 74 20 20 44 69 73 70 | 6c 61 79 20 28 33 36 30 |et Disp|lay (360|
|00003be0| 30 2c 31 29 0d 0d 2d 2d | 20 4b 69 6c 6c 20 74 68 |0,1)..--| Kill th|
|00003bf0| 65 20 77 69 6e 64 6f 77 | 20 61 66 74 65 72 20 61 |e window| after a|
|00003c00| 20 74 69 6d 65 6f 75 74 | 0d 69 66 20 69 74 20 3d | timeout|.if it =|
|00003c10| 20 22 74 69 6d 65 6f 75 | 74 22 20 74 68 65 6e 0d | "timeou|t" then.|
|00003c20| 2d 2d 20 64 65 6c 65 74 | 65 20 6c 61 73 74 20 69 |-- delet|e last i|
|00003c30| 74 65 6d 20 6f 66 20 77 | 68 65 72 65 57 65 43 61 |tem of w|hereWeCa|
|00003c40| 6d 65 46 72 6f 6d 0d 6b | 69 6c 6c 57 69 6e 64 6f |meFrom.k|illWindo|
|00003c50| 77 0d 72 65 74 75 72 6e | 20 22 63 61 6e 63 65 6c |w.return| "cancel|
|00003c60| 22 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 20 69 66 20 |".end if|..-- if |
|00003c70| 69 74 20 64 69 64 6e 27 | 74 20 74 69 6d 65 20 6f |it didn'|t time o|
|00003c80| 75 74 2c 20 73 65 65 20 | 77 68 61 74 20 74 68 65 |ut, see |what the|
|00003c90| 20 75 73 65 72 20 63 68 | 6f 73 65 0d 70 75 74 20 | user ch|ose.put |
|00003ca0| 69 74 65 6d 20 34 20 6f | 66 20 69 74 20 69 6e 74 |item 4 o|f it int|
|00003cb0| 6f 20 75 73 65 72 50 69 | 63 6b 65 64 0d 69 66 20 |o userPi|cked.if |
|00003cc0| 75 73 65 72 50 69 63 6b | 65 64 20 69 73 20 22 53 |userPick|ed is "S|
|00003cd0| 61 76 65 20 6e 6f 74 65 | 22 20 74 68 65 6e 20 2d |ave note|" then -|
|00003ce0| 2d 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 6e |- create| a new n|
|00003cf0| 6f 74 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ote.set |cursor t|
|00003d00| 6f 20 77 61 74 63 68 0d | 70 75 74 20 69 74 65 6d |o watch.|put item|
|00003d10| 20 32 20 6f 66 20 20 47 | 65 74 56 61 6c 75 65 28 | 2 of G|etValue(|
|00003d20| 22 49 74 65 6d 22 2c 35 | 29 20 69 6e 74 6f 20 70 |"Item",5|) into p|
|00003d30| 6c 61 63 65 4e 61 6d 65 | 0d 2d 2d 20 74 68 65 20 |laceName|.-- the |
|00003d40| 6e 6f 74 65 20 74 69 6d | 65 2f 70 6c 61 63 65 20 |note tim|e/place |
|00003d50| 73 74 61 6d 70 0d 70 75 | 74 20 47 65 74 56 61 6c |stamp.pu|t GetVal|
|00003d60| 75 65 28 22 49 74 65 6d | 22 2c 38 29 20 69 6e 74 |ue("Item|",8) int|
|00003d70| 6f 20 6e 6f 74 65 54 65 | 78 74 20 2d 2d 20 74 68 |o noteTe|xt -- th|
|00003d80| 65 20 61 63 74 75 61 6c | 20 74 65 78 74 0d 64 65 |e actual| text.de|
|00003d90| 6c 65 74 65 20 69 74 65 | 6d 20 31 20 6f 66 20 6e |lete ite|m 1 of n|
|00003da0| 6f 74 65 54 65 78 74 20 | 2d 2d 20 64 6f 20 74 68 |oteText |-- do th|
|00003db0| 69 73 20 62 65 63 61 75 | 73 65 20 6f 66 20 74 65 |is becau|se of te|
|00003dc0| 78 74 20 63 6f 6d 6d 61 | 73 0d 70 75 74 20 73 74 |xt comma|s.put st|
|00003dd0| 72 69 70 52 65 74 75 72 | 6e 73 28 6e 6f 74 65 54 |ripRetur|ns(noteT|
|00003de0| 65 78 74 29 20 69 6e 74 | 6f 20 6e 6f 74 65 74 65 |ext) int|o notete|
|00003df0| 78 74 0d 6b 69 6c 6c 57 | 69 6e 64 6f 77 0d 73 65 |xt.killW|indow.se|
|00003e00| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00003e10| 68 0d 69 66 20 67 6f 53 | 74 75 64 65 6e 74 53 74 |h.if goS|tudentSt|
|00003e20| 61 63 6b 28 22 61 73 6b | 22 29 20 69 73 20 22 74 |ack("ask|") is "t|
|00003e30| 72 75 65 22 20 74 68 65 | 6e 0d 67 6f 20 63 64 20 |rue" the|n.go cd |
|00003e40| 22 6e 6f 74 65 62 6f 6f | 6b 22 0d 65 6c 73 65 0d |"noteboo|k".else.|
|00003e50| 65 78 69 74 20 6e 6f 74 | 65 62 6f 6f 6b 0d 65 6e |exit not|ebook.en|
|00003e60| 64 20 69 66 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |d if.if |the numb|
|00003e70| 65 72 20 6f 66 20 63 68 | 61 72 73 20 69 6e 20 66 |er of ch|ars in f|
|00003e80| 6c 64 20 22 6e 6f 74 65 | 73 22 20 3e 20 32 39 30 |ld "note|s" > 290|
|00003e90| 30 30 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |00 then.|answer "|
|00003ea0| 53 6f 72 72 79 2c 20 79 | 6f 75 72 20 6e 6f 74 65 |Sorry, y|our note|
|00003eb0| 62 6f 6f 6b 20 69 73 20 | 74 6f 6f 20 66 75 6c 6c |book is |too full|
|00003ec0| 20 74 6f 20 73 61 76 65 | 20 61 6e 79 20 6d 6f 72 | to save| any mor|
|00003ed0| 65 20 6e 6f 74 65 73 2e | 22 0d 65 6c 73 65 0d 70 |e notes.|".else.p|
|00003ee0| 75 74 20 70 6c 61 63 65 | 4e 61 6d 65 20 26 20 72 |ut place|Name & r|
|00003ef0| 65 74 75 72 6e 20 26 20 | 6e 6f 74 65 54 65 78 74 |eturn & |noteText|
|00003f00| 20 26 20 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | & retur|n & retu|
|00003f10| 72 6e 20 61 66 74 65 72 | 20 66 6c 64 20 22 6e 6f |rn after| fld "no|
|00003f20| 74 65 73 22 0d 65 6e 64 | 20 69 66 0d 70 6f 70 20 |tes".end| if.pop |
|00003f30| 63 61 72 64 0d 65 6c 73 | 65 20 69 66 20 75 73 65 |card.els|e if use|
|00003f40| 72 50 69 63 6b 65 64 20 | 69 73 20 22 54 65 6c 6c |rPicked |is "Tell|
|00003f50| 20 41 70 70 6c 65 22 20 | 74 68 65 6e 0d 2d 2d 20 | Apple" |then.-- |
|00003f60| 70 75 74 20 74 68 65 20 | 63 6f 6d 6d 65 6e 74 20 |put the |comment |
|00003f70| 69 6e 74 6f 20 41 70 70 | 6c 65 20 66 65 65 64 62 |into App|le feedb|
|00003f80| 61 63 6b 20 73 74 61 63 | 6b 20 28 63 6f 6d 6d 65 |ack stac|k (comme|
|00003f90| 6e 74 73 29 0d 2d 2d 20 | 61 73 20 77 65 6c 6c 20 |nts).-- |as well |
|00003fa0| 61 73 20 75 73 65 72 20 | 6e 6f 74 65 62 6f 6f 6b |as user |notebook|
|00003fb0| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 20 |.put ite|m 2 of |
|00003fc0| 47 65 74 56 61 6c 75 65 | 28 22 49 74 65 6d 22 2c |GetValue|("Item",|
|00003fd0| 35 29 20 69 6e 74 6f 20 | 70 6c 61 63 65 4e 61 6d |5) into |placeNam|
|00003fe0| 65 0d 2d 2d 20 74 68 65 | 20 6e 6f 74 65 20 74 69 |e.-- the| note ti|
|00003ff0| 6d 65 2f 70 6c 61 63 65 | 20 73 74 61 6d 70 0d 70 |me/place| stamp.p|
|00004000| 75 74 20 47 65 74 56 61 | 6c 75 65 28 22 49 74 65 |ut GetVa|lue("Ite|
|00004010| 6d 22 2c 38 29 20 69 6e | 74 6f 20 6e 6f 74 65 54 |m",8) in|to noteT|
|00004020| 65 78 74 20 2d 2d 20 74 | 68 65 20 61 63 74 75 61 |ext -- t|he actua|
|00004030| 6c 20 74 65 78 74 0d 64 | 65 6c 65 74 65 20 69 74 |l text.d|elete it|
|00004040| 65 6d 20 31 20 6f 66 20 | 6e 6f 74 65 54 65 78 74 |em 1 of |noteText|
|00004050| 20 2d 2d 20 64 6f 20 74 | 68 69 73 20 62 65 63 61 | -- do t|his beca|
|00004060| 75 73 65 20 6f 66 20 74 | 65 78 74 20 63 6f 6d 6d |use of t|ext comm|
|00004070| 61 73 0d 70 75 74 20 73 | 74 72 69 70 52 65 74 75 |as.put s|tripRetu|
|00004080| 72 6e 73 28 6e 6f 74 65 | 54 65 78 74 29 20 69 6e |rns(note|Text) in|
|00004090| 74 6f 20 6e 6f 74 65 74 | 65 78 74 0d 70 75 74 20 |to notet|ext.put |
|000040a0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000040b0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 26 26 20 |f this s|tack && |
|000040c0| 22 2a 22 20 26 26 20 74 | 68 65 20 69 64 20 6f 66 |"*" && t|he id of|
|000040d0| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 63 64 | this cd| into cd|
|000040e0| 6e 61 6d 65 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |name.kil|lWindow.|
|000040f0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00004100| 74 63 68 0d 62 65 51 75 | 69 65 74 0d 67 6f 20 63 |tch.beQu|iet.go c|
|00004110| 64 20 22 6e 6f 74 65 62 | 6f 6f 6b 22 20 6f 66 20 |d "noteb|ook" of |
|00004120| 73 74 61 63 6b 20 22 4d | 46 20 41 70 70 6c 65 20 |stack "M|F Apple |
|00004130| 46 65 65 64 62 61 63 6b | 22 0d 69 66 20 74 68 65 |Feedback|".if the|
|00004140| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 22 | result |is not "|
|00004150| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 53 6f 72 72 |" then.p|ut "Sorr|
|00004160| 79 2c 74 68 65 20 41 70 | 70 6c 65 20 46 65 65 64 |y,the Ap|ple Feed|
|00004170| 62 61 63 6b 20 73 74 61 | 63 6b 20 69 73 20 6e 6f |back sta|ck is no|
|00004180| 74 20 61 76 61 69 6c 61 | 62 6c 65 20 66 6f 72 20 |t availa|ble for |
|00004190| 22 26 26 c2 0d 22 74 61 | 6b 69 6e 67 20 79 6f 75 |"&&.."ta|king you|
|000041a0| 72 20 63 6f 6d 6d 65 6e | 74 73 2e 22 20 69 6e 74 |r commen|ts." int|
|000041b0| 6f 20 73 74 72 69 6e 67 | 0d 61 6e 73 77 65 72 20 |o string|.answer |
|000041c0| 73 74 72 69 6e 67 20 77 | 69 74 68 20 22 4f 4b 22 |string w|ith "OK"|
|000041d0| 0d 65 78 69 74 20 6e 6f | 74 65 62 6f 6f 6b 0d 65 |.exit no|tebook.e|
|000041e0| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 20 6e 75 6d |nd if.if| the num|
|000041f0| 62 65 72 20 6f 66 20 63 | 68 61 72 73 20 69 6e 20 |ber of c|hars in |
|00004200| 66 6c 64 20 22 6e 6f 74 | 65 73 22 20 3e 20 32 39 |fld "not|es" > 29|
|00004210| 30 30 30 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |000 then|.answer |
|00004220| 22 53 6f 72 72 79 2c 20 | 74 68 65 20 41 70 70 6c |"Sorry, |the Appl|
|00004230| 65 20 46 65 65 64 62 61 | 63 6b 20 73 74 61 63 6b |e Feedba|ck stack|
|00004240| 20 69 73 20 74 6f 6f 20 | 66 75 6c 6c 20 74 6f 20 | is too |full to |
|00004250| 73 61 76 65 20 61 6e 79 | 20 6d 6f 72 65 20 6e 6f |save any| more no|
|00004260| 74 65 73 2e 22 0d 65 6c | 73 65 0d 70 75 74 20 67 |tes.".el|se.put g|
|00004270| 53 74 75 64 65 6e 74 4e | 61 6d 65 20 26 20 72 65 |StudentN|ame & re|
|00004280| 74 75 72 6e 20 26 26 20 | 63 64 6e 61 6d 65 20 26 |turn && |cdname &|
|00004290| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 66 |& return| after f|
|000042a0| 6c 64 20 22 6e 6f 74 65 | 73 22 0d 70 75 74 20 70 |ld "note|s".put p|
|000042b0| 6c 61 63 65 4e 61 6d 65 | 20 26 20 72 65 74 75 72 |laceName| & retur|
|000042c0| 6e 20 26 20 6e 6f 74 65 | 54 65 78 74 20 26 20 72 |n & note|Text & r|
|000042d0| 65 74 75 72 6e 20 26 20 | 72 65 74 75 72 6e 20 61 |eturn & |return a|
|000042e0| 66 74 65 72 20 66 6c 64 | 20 22 6e 6f 74 65 73 22 |fter fld| "notes"|
|000042f0| 0d 65 6e 64 20 69 66 0d | 72 65 74 75 72 6e 51 75 |.end if.|returnQu|
|00004300| 69 65 74 0d 65 6c 73 65 | 20 69 66 20 75 73 65 72 |iet.else| if user|
|00004310| 50 69 63 6b 65 64 20 69 | 73 20 22 47 6f 20 74 6f |Picked i|s "Go to|
|00004320| 20 6e 6f 74 65 62 6f 6f | 6b 22 20 74 68 65 6e 20 | noteboo|k" then |
|00004330| 2d 2d 20 6f 70 65 6e 20 | 74 68 65 20 6e 6f 74 65 |-- open |the note|
|00004340| 62 6f 6f 6b 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |book.set| cursor |
|00004350| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 47 65 74 |to watch|.put Get|
|00004360| 56 61 6c 75 65 28 22 49 | 74 65 6d 22 2c 38 29 20 |Value("I|tem",8) |
|00004370| 69 6e 74 6f 20 6e 6f 74 | 65 54 65 78 74 20 2d 2d |into not|eText --|
|00004380| 20 74 68 65 20 61 63 74 | 75 61 6c 20 74 65 78 74 | the act|ual text|
|00004390| 0d 69 66 20 6e 6f 74 65 | 54 65 78 74 20 69 73 20 |.if note|Text is |
|000043a0| 6e 6f 74 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 |not "" t|hen.put |
|000043b0| 69 74 65 6d 20 32 20 6f | 66 20 20 47 65 74 56 61 |item 2 o|f GetVa|
|000043c0| 6c 75 65 28 22 49 74 65 | 6d 22 2c 35 29 20 69 6e |lue("Ite|m",5) in|
|000043d0| 74 6f 20 70 6c 61 63 65 | 4e 61 6d 65 0d 64 65 6c |to place|Name.del|
|000043e0| 65 74 65 20 69 74 65 6d | 20 31 20 6f 66 20 6e 6f |ete item| 1 of no|
|000043f0| 74 65 54 65 78 74 20 2d | 2d 20 64 6f 20 74 68 69 |teText -|- do thi|
|00004400| 73 20 62 65 63 61 75 73 | 65 20 6f 66 20 74 65 78 |s becaus|e of tex|
|00004410| 74 20 63 6f 6d 6d 61 73 | 0d 70 75 74 20 73 74 72 |t commas|.put str|
|00004420| 69 70 52 65 74 75 72 6e | 73 28 6e 6f 74 65 54 65 |ipReturn|s(noteTe|
|00004430| 78 74 29 20 69 6e 74 6f | 20 6e 6f 74 65 74 65 78 |xt) into| notetex|
|00004440| 74 0d 65 6e 64 20 69 66 | 0d 6b 69 6c 6c 57 69 6e |t.end if|.killWin|
|00004450| 64 6f 77 0d 69 66 20 67 | 6f 53 74 75 64 65 6e 74 |dow.if g|oStudent|
|00004460| 53 74 61 63 6b 28 22 61 | 73 6b 22 29 20 69 73 20 |Stack("a|sk") is |
|00004470| 66 61 6c 73 65 20 74 68 | 65 6e 20 65 78 69 74 20 |false th|en exit |
|00004480| 6e 6f 74 65 62 6f 6f 6b | 0d 67 6f 20 63 64 20 22 |notebook|.go cd "|
|00004490| 6e 6f 74 65 62 6f 6f 6b | 22 0d 69 66 20 6e 6f 74 |notebook|".if not|
|000044a0| 65 54 65 78 74 20 69 73 | 20 6e 6f 74 20 22 22 20 |eText is| not "" |
|000044b0| 74 68 65 6e 0d 70 75 74 | 20 70 6c 61 63 65 4e 61 |then.put| placeNa|
|000044c0| 6d 65 20 26 20 72 65 74 | 75 72 6e 20 26 20 6e 6f |me & ret|urn & no|
|000044d0| 74 65 54 65 78 74 20 26 | 20 72 65 74 75 72 6e 20 |teText &| return |
|000044e0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 66 |& return| after f|
|000044f0| 6c 64 20 22 6e 6f 74 65 | 73 22 0d 65 6e 64 20 69 |ld "note|s".end i|
|00004500| 66 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |f.unlock| screen |
|00004510| 77 69 74 68 20 69 72 69 | 73 20 6f 70 65 6e 0d 65 |with iri|s open.e|
|00004520| 6c 73 65 20 2d 2d 20 6d | 75 73 74 20 62 65 20 43 |lse -- m|ust be C|
|00004530| 61 6e 63 65 6c 0d 6b 69 | 6c 6c 57 69 6e 64 6f 77 |ancel.ki|llWindow|
|00004540| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 4e 6f 74 65 |.end if.|end Note|
|00004550| 42 6f 6f 6b 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 73 |Book..fu|nction s|
|00004560| 74 72 69 70 52 65 74 75 | 72 6e 73 20 73 74 72 69 |tripRetu|rns stri|
|00004570| 6e 67 0d 72 65 70 65 61 | 74 0d 67 65 74 20 6c 61 |ng.repea|t.get la|
|00004580| 73 74 20 63 68 61 72 20 | 6f 66 20 73 74 72 69 6e |st char |of strin|
|00004590| 67 0d 69 66 20 69 74 20 | 3d 20 72 65 74 75 72 6e |g.if it |= return|
|000045a0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6c 61 73 | then de|lete las|
|000045b0| 74 20 63 68 61 72 20 6f | 66 20 53 74 72 69 6e 67 |t char o|f String|
|000045c0| 0d 65 6c 73 65 20 65 78 | 69 74 20 72 65 70 65 61 |.else ex|it repea|
|000045d0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 74 |t.end re|peat.ret|
|000045e0| 75 72 6e 20 73 74 72 69 | 6e 67 0d 65 6e 64 20 73 |urn stri|ng.end s|
|000045f0| 74 72 69 70 52 65 74 75 | 72 6e 73 0d 0d 2d 2d 20 |tripRetu|rns..-- |
|00004600| 74 68 69 73 20 68 61 6e | 64 6c 65 72 20 69 73 20 |this han|dler is |
|00004610| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 61 6c 6c 20 |called f|rom all |
|00004620| 73 74 61 63 6b 73 0d 6f | 6e 20 53 6e 61 70 73 68 |stacks.o|n Snapsh|
|00004630| 6f 74 0d 73 65 74 57 69 | 6e 64 6f 77 20 31 0d 4e |ot.setWi|ndow 1.N|
|00004640| 65 77 57 69 6e 64 6f 77 | 20 32 39 30 2c 32 32 32 |ewWindow| 290,222|
|00004650| 2c 63 65 6e 74 65 72 65 | 64 2c 30 2c 31 2c 22 53 |,centere|d,0,1,"S|
|00004660| 6e 61 70 73 68 6f 74 20 | 44 69 61 6c 6f 67 22 2c |napshot |Dialog",|
|00004670| 76 69 73 69 62 6c 65 0d | 70 75 74 20 22 53 74 75 |visible.|put "Stu|
|00004680| 64 65 6e 74 20 53 65 72 | 76 69 63 65 73 22 20 26 |dent Ser|vices" &|
|00004690| 20 72 65 74 75 72 6e 20 | 26 20 22 53 6e 61 70 73 | return |& "Snaps|
|000046a0| 68 6f 74 22 20 69 6e 74 | 6f 20 74 68 65 54 65 78 |hot" int|o theTex|
|000046b0| 74 0d 4e 65 77 49 74 65 | 6d 20 53 74 61 74 69 63 |t.NewIte|m Static|
|000046c0| 54 65 78 74 2c 35 39 2c | 36 2c 31 39 32 2c 34 38 |Text,59,|6,192,48|
|000046d0| 2c 74 68 65 54 65 78 74 | 2c 22 42 20 67 61 72 61 |,theText|,"B gara|
|000046e0| 6d 6f 6e 64 20 62 6f 6c | 64 22 2c 32 30 2c 70 6c |mond bol|d",20,pl|
|000046f0| 61 69 6e 0d 2d 2d 20 69 | 74 65 6d 20 31 0d 4e 65 |ain.-- i|tem 1.Ne|
|00004700| 77 49 74 65 6d 20 52 65 | 63 74 42 75 74 74 6f 6e |wItem Re|ctButton|
|00004710| 2c 31 37 2c 38 2c 36 31 | 2c 34 35 2c c2 0d 22 4e |,17,8,61|,45,.."N|
|00004720| 6f 74 41 63 74 69 76 65 | 22 2c 32 36 34 37 35 2c |otActive|",26475,|
|00004730| 22 64 6f 6e 74 69 6e 76 | 65 72 74 22 2c 65 6d 70 |"dontinv|ert",emp|
|00004740| 74 79 2c 6e 6f 43 6f 6c | 6f 72 2c 22 22 2c 22 22 |ty,noCol|or,"",""|
|00004750| 0d 2d 2d 20 20 62 6f 6f | 6b 6d 61 72 6b 20 67 72 |.-- boo|kmark gr|
|00004760| 61 70 68 69 63 20 69 74 | 65 6d 20 32 0d 4e 65 77 |aphic it|em 2.New|
|00004770| 49 74 65 6d 20 52 65 63 | 74 61 6e 67 6c 65 2c 30 |Item Rec|tangle,0|
|00004780| 2c 35 33 2c 32 39 30 2c | 35 34 2c 31 20 2d 2d 20 |,53,290,|54,1 -- |
|00004790| 69 74 65 6d 20 33 2c 20 | 64 65 63 6f 72 61 74 69 |item 3, |decorati|
|000047a0| 76 65 20 72 75 6c 65 0d | 4e 65 77 49 74 65 6d 20 |ve rule.|NewItem |
|000047b0| 53 74 61 74 69 63 54 65 | 78 74 2c 32 34 2c 36 30 |StaticTe|xt,24,60|
|000047c0| 2c 31 35 37 2c 37 39 2c | c2 0d 22 53 6e 61 70 73 |,157,79,|.."Snaps|
|000047d0| 68 6f 74 20 69 6e 3a 22 | 2c 47 61 72 61 6d 6f 6e |hot in:"|,Garamon|
|000047e0| 64 2c 31 36 2c 70 6c 61 | 69 6e 20 2d 2d 20 69 74 |d,16,pla|in -- it|
|000047f0| 65 6d 20 34 0d 4e 65 77 | 49 74 65 6d 20 53 74 61 |em 4.New|Item Sta|
|00004800| 74 69 63 54 65 78 74 2c | 32 34 2b 33 2c 37 39 2c |ticText,|24+3,79,|
|00004810| 32 36 30 2c 39 35 2c c2 | 0d 6d 61 6b 65 53 74 61 |260,95,.|.makeSta|
|00004820| 6d 70 28 29 2c 22 43 68 | 69 63 61 67 6f 22 2c 31 |mp(),"Ch|icago",1|
|00004830| 32 2c 70 6c 61 69 6e 20 | 2d 2d 20 69 74 65 6d 20 |2,plain |-- item |
|00004840| 35 0d 4e 65 77 49 74 65 | 6d 20 52 65 63 74 61 6e |5.NewIte|m Rectan|
|00004850| 67 6c 65 2c 32 34 2c 37 | 38 2c 32 36 38 2c 39 37 |gle,24,7|8,268,97|
|00004860| 2c 31 20 2d 2d 49 74 65 | 6d 20 36 0d 4e 65 77 49 |,1 --Ite|m 6.NewI|
|00004870| 74 65 6d 20 53 74 61 74 | 69 63 54 65 78 74 2c 32 |tem Stat|icText,2|
|00004880| 34 2c 31 30 33 2c 32 36 | 38 2c 31 32 33 2c c2 0d |4,103,26|8,123,..|
|00004890| 22 53 6e 61 70 73 68 6f | 74 20 6e 61 6d 65 20 28 |"Snapsho|t name (|
|000048a0| 6f 70 74 69 6f 6e 61 6c | 29 3a 22 2c 47 61 72 61 |optional|):",Gara|
|000048b0| 6d 6f 6e 64 2c 31 36 2c | 70 6c 61 69 6e 20 2d 2d |mond,16,|plain --|
|000048c0| 20 69 74 65 6d 20 37 0d | 4e 65 77 49 74 65 6d 20 | item 7.|NewItem |
|000048d0| 45 64 69 74 54 65 78 74 | 2c 32 34 2c 31 32 30 2c |EditText|,24,120,|
|000048e0| 32 36 38 2c 31 34 31 2c | c2 0d 65 6d 70 74 79 2c |268,141,|..empty,|
|000048f0| 22 43 68 69 63 61 67 6f | 22 2c 31 32 2c 70 6c 61 |"Chicago|",12,pla|
|00004900| 69 6e 2c 6e 6f 53 63 72 | 6f 6c 6c 2c 68 61 73 43 |in,noScr|oll,hasC|
|00004910| 75 72 73 6f 72 20 2d 2d | 20 69 74 65 6d 20 38 0d |ursor --| item 8.|
|00004920| 4e 65 77 49 74 65 6d 20 | 52 6f 75 6e 64 42 75 74 |NewItem |RoundBut|
|00004930| 74 6f 6e 2c 32 34 2c 31 | 36 31 2c 31 34 30 2c 31 |ton,24,1|61,140,1|
|00004940| 38 37 2c c2 0d 22 54 61 | 6b 65 20 53 6e 61 70 73 |87,.."Ta|ke Snaps|
|00004950| 68 6f 74 22 2c 31 33 2c | 6e 6f 43 6f 6d 6d 61 6e |hot",13,|noComman|
|00004960| 64 2c 22 22 20 2d 2d 20 | 69 74 65 6d 20 38 0d 4e |d,"" -- |item 8.N|
|00004970| 65 77 49 74 65 6d 20 52 | 6f 75 6e 64 42 75 74 74 |ewItem R|oundButt|
|00004980| 6f 6e 2c 31 35 32 2c 31 | 36 34 2c 32 36 38 2c 31 |on,152,1|64,268,1|
|00004990| 38 34 20 2c c2 0d 22 50 | 72 69 6e 74 20 53 6e 61 |84 ,.."P|rint Sna|
|000049a0| 70 73 68 6f 74 22 2c 31 | 34 2c 6e 6f 43 6f 6d 6d |pshot",1|4,noComm|
|000049b0| 61 6e 64 2c 22 22 20 2d | 2d 20 69 74 65 6d 20 39 |and,"" -|- item 9|
|000049c0| 0d 4e 65 77 49 74 65 6d | 20 52 6f 75 6e 64 42 75 |.NewItem| RoundBu|
|000049d0| 74 74 6f 6e 2c 32 34 2c | 31 39 36 2c 31 34 30 2c |tton,24,|196,140,|
|000049e0| 32 31 36 2c c2 0d 22 56 | 69 65 77 20 53 6e 61 70 |216,.."V|iew Snap|
|000049f0| 73 68 6f 74 73 22 2c 31 | 34 2c 6e 6f 43 6f 6d 6d |shots",1|4,noComm|
|00004a00| 61 6e 64 2c 22 22 20 2d | 2d 20 69 74 65 6d 20 31 |and,"" -|- item 1|
|00004a10| 30 0d 4e 65 77 49 74 65 | 6d 20 52 6f 75 6e 64 42 |0.NewIte|m RoundB|
|00004a20| 75 74 74 6f 6e 2c 31 35 | 32 2c 31 39 36 2c 32 36 |utton,15|2,196,26|
|00004a30| 38 2c 32 31 36 2c c2 0d | 22 43 61 6e 63 65 6c 22 |8,216,..|"Cancel"|
|00004a40| 2c 63 68 61 72 54 6f 4e | 75 6d 28 22 2e 22 29 2c |,charToN|um("."),|
|00004a50| 43 6f 6d 6d 61 6e 64 2c | 22 22 20 2d 2d 20 69 74 |Command,|"" -- it|
|00004a60| 65 6d 20 31 31 0d 0d 73 | 65 74 20 63 75 72 73 6f |em 11..s|et curso|
|00004a70| 72 20 74 6f 20 61 72 72 | 6f 77 0d 67 65 74 20 20 |r to arr|ow.get |
|00004a80| 44 69 73 70 6c 61 79 20 | 28 31 38 30 2c 31 29 0d |Display |(180,1).|
|00004a90| 0d 2d 2d 20 4b 69 6c 6c | 20 74 68 65 20 77 69 6e |.-- Kill| the win|
|00004aa0| 64 6f 77 20 61 66 74 65 | 72 20 61 20 74 69 6d 65 |dow afte|r a time|
|00004ab0| 6f 75 74 0d 69 66 20 69 | 74 20 3d 20 22 74 69 6d |out.if i|t = "tim|
|00004ac0| 65 6f 75 74 22 20 74 68 | 65 6e 0d 2d 2d 20 64 65 |eout" th|en.-- de|
|00004ad0| 6c 65 74 65 20 6c 61 73 | 74 20 69 74 65 6d 20 6f |lete las|t item o|
|00004ae0| 66 20 77 68 65 72 65 57 | 65 43 61 6d 65 46 72 6f |f whereW|eCameFro|
|00004af0| 6d 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 72 65 74 |m.killWi|ndow.ret|
|00004b00| 75 72 6e 20 22 63 61 6e | 63 65 6c 22 0d 65 6e 64 |urn "can|cel".end|
|00004b10| 20 69 66 0d 0d 2d 2d 20 | 69 66 20 69 74 20 64 69 | if..-- |if it di|
|00004b20| 64 6e 27 74 20 74 69 6d | 65 20 6f 75 74 2c 20 73 |dn't tim|e out, s|
|00004b30| 65 65 20 77 68 61 74 20 | 74 68 65 20 75 73 65 72 |ee what |the user|
|00004b40| 20 63 68 6f 73 65 0d 70 | 75 74 20 69 74 65 6d 20 | chose.p|ut item |
|00004b50| 34 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 75 73 65 |4 of it |into use|
|00004b60| 72 50 69 63 6b 65 64 0d | 69 66 20 75 73 65 72 50 |rPicked.|if userP|
|00004b70| 69 63 6b 65 64 20 69 73 | 20 22 54 61 6b 65 20 73 |icked is| "Take s|
|00004b80| 6e 61 70 73 68 6f 74 22 | 20 74 68 65 6e 20 2d 2d |napshot"| then --|
|00004b90| 20 74 61 6b 65 20 73 6e | 61 70 73 68 6f 74 0d 73 | take sn|apshot.s|
|00004ba0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00004bb0| 63 68 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ch.put i|tem 2 of|
|00004bc0| 20 20 47 65 74 56 61 6c | 75 65 28 22 49 74 65 6d | GetVal|ue("Item|
|00004bd0| 22 2c 35 29 20 69 6e 74 | 6f 20 73 68 6f 74 4e 61 |",5) int|o shotNa|
|00004be0| 6d 65 0d 67 65 74 20 69 | 74 65 6d 20 32 20 6f 66 |me.get i|tem 2 of|
|00004bf0| 20 67 65 74 56 61 6c 75 | 65 28 22 49 74 65 6d 22 | getValu|e("Item"|
|00004c00| 2c 38 29 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |,8).if i|t is not|
|00004c10| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 22 20 a5 | "" then| put " .|
|00004c20| 20 22 20 26 20 69 74 20 | 61 66 74 65 72 20 73 68 | " & it |after sh|
|00004c30| 6f 74 4e 61 6d 65 0d 6b | 69 6c 6c 57 69 6e 64 6f |otName.k|illWindo|
|00004c40| 77 0d 6d 61 6b 65 53 6e | 61 70 53 68 6f 74 20 73 |w.makeSn|apShot s|
|00004c50| 68 6f 74 4e 61 6d 65 0d | 0d 65 6c 73 65 20 69 66 |hotName.|.else if|
|00004c60| 20 75 73 65 72 50 69 63 | 6b 65 64 20 69 73 20 22 | userPic|ked is "|
|00004c70| 50 72 69 6e 74 20 53 6e | 61 70 73 68 6f 74 22 20 |Print Sn|apshot" |
|00004c80| 74 68 65 6e 0d 64 6f 6d | 65 6e 75 20 22 70 72 69 |then.dom|enu "pri|
|00004c90| 6e 74 20 63 61 72 64 22 | 20 2d 2d 20 70 72 69 6e |nt card"| -- prin|
|00004ca0| 74 20 73 63 72 65 65 6e | 0d 6b 69 6c 6c 57 69 6e |t screen|.killWin|
|00004cb0| 64 6f 77 0d 65 6c 73 65 | 20 69 66 20 75 73 65 72 |dow.else| if user|
|00004cc0| 50 69 63 6b 65 64 20 69 | 73 20 22 56 69 65 77 20 |Picked i|s "View |
|00004cd0| 53 6e 61 70 73 68 6f 74 | 73 22 20 74 68 65 6e 20 |Snapshot|s" then |
|00004ce0| 2d 2d 20 6e 65 77 20 73 | 6e 61 70 73 68 6f 74 20 |-- new s|napshot |
|00004cf0| 64 69 73 6b 0d 6b 69 6c | 6c 57 69 6e 64 6f 77 0d |disk.kil|lWindow.|
|00004d00| 62 65 71 75 69 65 74 0d | 67 65 74 20 67 6f 53 6e |bequiet.|get goSn|
|00004d10| 61 70 73 68 6f 74 28 29 | 0d 65 6c 73 65 20 2d 2d |apshot()|.else --|
|00004d20| 20 6d 75 73 74 20 62 65 | 20 43 61 6e 63 65 6c 0d | must be| Cancel.|
|00004d30| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 65 6e 64 20 69 |killWind|ow.end i|
|00004d40| 66 0d 65 6e 64 20 53 6e | 61 70 73 68 6f 74 0d 0d |f.end Sn|apshot..|
|00004d50| 6f 6e 20 6d 61 6b 65 53 | 6e 61 70 53 68 6f 74 20 |on makeS|napShot |
|00004d60| 73 68 6f 74 4e 61 6d 65 | 0d 73 65 74 20 63 75 72 |shotName|.set cur|
|00004d70| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 62 65 51 |sor to w|atch.beQ|
|00004d80| 75 69 65 74 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |uiet.unl|ock scre|
|00004d90| 65 6e 20 2d 2d 20 66 6f | 72 20 72 65 66 72 65 73 |en -- fo|r refres|
|00004da0| 68 2c 20 73 69 6e 63 65 | 20 77 65 27 72 65 20 74 |h, since| we're t|
|00004db0| 61 6b 69 6e 67 20 61 20 | 70 69 63 74 75 72 65 20 |aking a |picture |
|00004dc0| 6f 66 20 69 74 0d 6c 6f | 63 6b 20 73 63 72 65 65 |of it.lo|ck scree|
|00004dd0| 6e 0d 43 6f 70 79 53 63 | 72 65 65 6e 0d 69 66 20 |n.CopySc|reen.if |
|00004de0| 67 6f 53 6e 61 70 73 68 | 6f 74 28 29 20 69 73 20 |goSnapsh|ot() is |
|00004df0| 74 72 75 65 20 74 68 65 | 6e 0d 67 6f 20 6c 61 73 |true the|n.go las|
|00004e00| 74 20 63 64 0d 73 65 6e | 64 20 22 74 61 6b 65 53 |t cd.sen|d "takeS|
|00004e10| 6e 61 70 53 68 6f 74 20 | 73 68 6f 74 4e 61 6d 65 |napShot |shotName|
|00004e20| 22 20 74 6f 20 74 68 69 | 73 20 62 67 0d 65 6e 64 |" to thi|s bg.end|
|00004e30| 20 69 66 0d 65 6e 64 20 | 6d 61 6b 65 53 6e 61 70 | if.end |makeSnap|
|00004e40| 73 68 6f 74 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 6d |shot..fu|nction m|
|00004e50| 61 6b 65 53 74 61 6d 70 | 0d 2d 2d 20 6d 61 6b 65 |akeStamp|.-- make|
|00004e60| 20 61 20 6d 6f 64 75 6c | 65 2c 64 61 74 65 20 61 | a modul|e,date a|
|00004e70| 6e 64 20 74 69 6d 65 20 | 73 74 61 63 6b 20 66 6f |nd time |stack fo|
|00004e80| 72 20 62 6f 6f 6b 6d 61 | 72 6b 73 2c 73 6e 61 70 |r bookma|rks,snap|
|00004e90| 73 68 6f 74 73 20 61 6e | 64 20 6e 6f 74 65 73 0d |shots an|d notes.|
|00004ea0| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |put the |short na|
|00004eb0| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00004ec0| 20 69 6e 74 6f 20 73 74 | 61 6d 70 0d 0d 70 75 74 | into st|amp..put|
|00004ed0| 20 74 68 65 20 73 68 6f | 72 74 20 64 61 74 65 20 | the sho|rt date |
|00004ee0| 69 6e 74 6f 20 74 6f 64 | 61 79 0d 67 65 74 20 74 |into tod|ay.get t|
|00004ef0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00004f00| 72 73 20 69 6e 20 74 6f | 64 61 79 0d 64 65 6c 65 |rs in to|day.dele|
|00004f10| 74 65 20 63 68 61 72 20 | 28 69 74 2d 32 29 20 74 |te char |(it-2) t|
|00004f20| 6f 20 69 74 20 6f 66 20 | 74 6f 64 61 79 20 2d 2d |o it of |today --|
|00004f30| 20 64 6f 6e 27 74 20 6e | 65 65 64 20 74 68 65 20 | don't n|eed the |
|00004f40| 79 65 61 72 0d 70 75 74 | 20 22 20 a5 22 20 26 26 |year.put| " ." &&|
|00004f50| 20 74 6f 64 61 79 20 26 | 26 20 22 61 74 20 22 20 | today &|& "at " |
|00004f60| 61 66 74 65 72 20 73 74 | 61 6d 70 0d 70 75 74 20 |after st|amp.put |
|00004f70| 74 68 65 20 74 69 6d 65 | 20 69 6e 74 6f 20 74 69 |the time| into ti|
|00004f80| 6d 65 53 74 61 6d 70 0d | 67 65 74 20 74 68 65 20 |meStamp.|get the |
|00004f90| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars |
|00004fa0| 69 6e 20 74 69 6d 65 53 | 74 61 6d 70 0d 70 75 74 |in timeS|tamp.put|
|00004fb0| 20 63 68 61 72 20 28 69 | 74 2d 31 29 20 74 6f 20 | char (i|t-1) to |
|00004fc0| 69 74 20 6f 66 20 74 69 | 6d 65 53 74 61 6d 70 20 |it of ti|meStamp |
|00004fd0| 69 6e 74 6f 20 74 6f 64 | 0d 69 66 20 74 6f 64 20 |into tod|.if tod |
|00004fe0| 3d 20 22 50 4d 22 20 74 | 68 65 6e 20 70 75 74 20 |= "PM" t|hen put |
|00004ff0| 22 70 6d 22 20 69 6e 74 | 6f 20 74 6f 64 0d 65 6c |"pm" int|o tod.el|
|00005000| 73 65 20 69 66 20 74 6f | 64 20 3d 20 22 41 4d 22 |se if to|d = "AM"|
|00005010| 20 74 68 65 6e 20 70 75 | 74 20 22 61 6d 22 20 69 | then pu|t "am" i|
|00005020| 6e 74 6f 20 74 6f 64 0d | 70 75 74 20 74 6f 64 20 |nto tod.|put tod |
|00005030| 69 6e 74 6f 20 63 68 61 | 72 20 28 69 74 2d 31 29 |into cha|r (it-1)|
|00005040| 20 74 6f 20 69 74 20 6f | 66 20 74 69 6d 65 53 74 | to it o|f timeSt|
|00005050| 61 6d 70 0d 70 75 74 20 | 74 69 6d 65 53 74 61 6d |amp.put |timeStam|
|00005060| 70 20 61 66 74 65 72 20 | 73 74 61 6d 70 0d 72 65 |p after |stamp.re|
|00005070| 74 75 72 6e 20 73 74 61 | 6d 70 0d 65 6e 64 20 6d |turn sta|mp.end m|
|00005080| 61 6b 65 53 74 61 6d 70 | 0d 0d 6f 6e 20 6b 69 6c |akeStamp|..on kil|
|00005090| 6c 57 69 6e 64 6f 77 0d | 2d 2d 20 66 72 65 65 20 |lWindow.|-- free |
|000050a0| 6d 65 6d 6f 72 79 20 28 | 74 65 6d 70 6f 72 61 72 |memory (|temporar|
|000050b0| 79 2c 20 75 6e 74 69 6c | 20 6b 69 6c 6c 41 6c 6c |y, until| killAll|
|000050c0| 20 77 6f 72 6b 73 29 20 | 2a 2a 0d 53 65 74 57 69 | works) |**.SetWi|
|000050d0| 6e 64 6f 77 20 31 0d 4e | 65 77 57 69 6e 64 6f 77 |ndow 1.N|ewWindow|
|000050e0| 20 35 30 2c 35 30 2c 63 | 65 6e 74 65 72 65 64 2c | 50,50,c|entered,|
|000050f0| 30 2c 31 2c 22 22 2c 69 | 6e 76 69 73 69 62 6c 65 |0,1,"",i|nvisible|
|00005100| 0d 67 6f 20 74 68 69 73 | 20 63 64 20 2d 2d 20 6b |.go this| cd -- k|
|00005110| 76 73 20 61 64 64 65 64 | 20 74 6f 20 72 65 66 72 |vs added| to refr|
|00005120| 65 73 68 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 6b |esh scre|en.end k|
|00005130| 69 6c 6c 57 69 6e 64 6f | 77 0d 0d 2d 2d 20 4d 41 |illWindo|w..-- MA|
|00005140| 50 0d 6f 6e 20 4d 61 70 | 0d 67 6c 6f 62 61 6c 20 |P.on Map|.global |
|00005150| 67 54 6f 54 68 65 4d 61 | 70 0d 73 65 74 20 63 75 |gToTheMa|p.set cu|
|00005160| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00005170| 74 20 67 65 74 43 61 72 | 64 4e 61 6d 65 28 29 20 |t getCar|dName() |
|00005180| 69 6e 74 6f 20 67 54 6f | 54 68 65 4d 61 70 0d 6c |into gTo|TheMap.l|
|00005190| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 22 4d |ock scre|en.go "M|
|000051a0| 46 20 4d 61 70 22 0d 75 | 6e 6c 6f 63 6b 20 73 63 |F Map".u|nlock sc|
|000051b0| 72 65 65 6e 20 77 69 74 | 68 20 69 72 69 73 20 6f |reen wit|h iris o|
|000051c0| 70 65 6e 0d 65 6e 64 20 | 4d 61 70 0d 0d 2d 2d 2d |pen.end |Map..---|
|000051d0| 20 48 45 4c 50 0d 6f 6e | 20 48 65 6c 70 0d 70 75 | HELP.on| Help.pu|
|000051e0| 73 68 20 63 61 72 64 0d | 6c 6f 63 6b 20 73 63 72 |sh card.|lock scr|
|000051f0| 65 65 6e 0d 67 6f 20 73 | 74 61 63 6b 20 22 4d 46 |een.go s|tack "MF|
|00005200| 20 48 65 6c 70 22 0d 75 | 6e 6c 6f 63 6b 20 73 63 | Help".u|nlock sc|
|00005210| 72 65 65 6e 20 77 69 74 | 68 20 69 72 69 73 20 6f |reen wit|h iris o|
|00005220| 70 65 6e 0d 73 65 6e 64 | 20 6f 70 65 6e 41 63 74 |pen.send| openAct|
|00005230| 69 6f 6e 20 74 6f 20 74 | 68 69 73 20 63 64 0d 65 |ion to t|his cd.e|
|00005240| 6e 64 20 48 65 6c 70 0d | 0d 6f 6e 20 47 6c 6f 73 |nd Help.|.on Glos|
|00005250| 73 61 72 79 0d 70 75 73 | 68 20 63 61 72 64 0d 6c |sary.pus|h card.l|
|00005260| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 74 6f |ock scre|en.go to|
|00005270| 20 63 61 72 64 20 22 47 | 6c 6f 73 73 61 72 79 42 | card "G|lossaryB|
|00005280| 72 6f 77 73 65 72 22 20 | 6f 66 20 73 74 61 63 6b |rowser" |of stack|
|00005290| 20 22 4d 46 20 47 6c 6f | 73 73 61 72 79 22 0d 75 | "MF Glo|ssary".u|
|000052a0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|000052b0| 68 20 69 72 69 73 20 6f | 70 65 6e 0d 65 6e 64 20 |h iris o|pen.end |
|000052c0| 47 6c 6f 73 73 61 72 79 | 0d 0d 6f 6e 20 72 65 66 |Glossary|..on ref|
|000052d0| 72 65 73 68 0d 70 75 74 | 20 74 68 65 20 6c 6f 63 |resh.put| the loc|
|000052e0| 6b 73 63 72 65 65 6e 20 | 69 6e 74 6f 20 73 61 76 |kscreen |into sav|
|000052f0| 65 4c 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |eL.unloc|k screen|
|00005300| 0d 67 6f 20 74 68 69 73 | 20 43 64 0d 73 65 74 20 |.go this| Cd.set |
|00005310| 74 68 65 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 74 |the lock|screen t|
|00005320| 6f 20 73 61 76 65 4c 0d | 65 6e 64 20 72 65 66 72 |o saveL.|end refr|
|00005330| 65 73 68 0d 0d 2d 2d 20 | 65 6e 64 20 6f 66 20 73 |esh..-- |end of s|
|00005340| 74 75 64 65 6e 74 20 6f | 70 74 69 6f 6e 73 0d 0d |tudent o|ptions..|
|00005350| 2d 2d 2f 20 66 6f 72 20 | 73 65 6c 66 61 73 73 65 |--/ for |selfasse|
|00005360| 73 73 6d 65 6e 74 73 0d | 2d 2d 2f 20 41 6c 6c 20 |ssments.|--/ All |
|00005370| 53 65 6c 6c 2d 41 73 73 | 65 73 73 6d 65 6e 74 20 |Sell-Ass|essment |
|00005380| 62 61 63 6b 67 72 6f 75 | 6e 64 73 20 73 68 6f 75 |backgrou|nds shou|
|00005390| 6c 64 20 62 65 20 6e 61 | 6d 65 64 20 73 74 61 72 |ld be na|med star|
|000053a0| 74 69 6e 67 20 77 69 74 | 68 20 22 a7 8c 22 0d 0d |ting wit|h ".."..|
|000053b0| 6f 6e 20 63 6c 6f 73 65 | 42 61 63 6b 67 72 6f 75 |on close|Backgrou|
|000053c0| 6e 64 0d 67 6c 6f 62 61 | 6c 20 67 42 61 63 6b 67 |nd.globa|l gBackg|
|000053d0| 72 6f 75 6e 64 4e 61 6d | 65 0d 70 75 74 20 74 68 |roundNam|e.put th|
|000053e0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000053f0| 74 68 69 73 20 62 67 20 | 69 6e 74 6f 20 67 42 61 |this bg |into gBa|
|00005400| 63 6b 67 72 6f 75 6e 64 | 4e 61 6d 65 0d 65 6e 64 |ckground|Name.end|
|00005410| 20 63 6c 6f 73 65 42 61 | 63 6b 67 72 6f 75 6e 64 | closeBa|ckground|
|00005420| 0d 0d 6f 6e 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |..on ope|nBackgro|
|00005430| 75 6e 64 0d 67 6c 6f 62 | 61 6c 20 67 42 61 63 6b |und.glob|al gBack|
|00005440| 67 72 6f 75 6e 64 4e 61 | 6d 65 2c 67 53 74 61 63 |groundNa|me,gStac|
|00005450| 6b 4e 61 6d 65 2c 53 41 | 45 76 61 6c 44 61 74 61 |kName,SA|EvalData|
|00005460| 2c 67 4e 6f 44 69 73 6b | 0d 69 66 20 67 42 61 63 |,gNoDisk|.if gBac|
|00005470| 6b 67 72 6f 75 6e 64 4e | 61 6d 65 20 69 73 20 6e |kgroundN|ame is n|
|00005480| 6f 74 20 65 6d 70 74 79 | 20 61 6e 64 20 53 41 45 |ot empty| and SAE|
|00005490| 76 61 6c 44 61 74 61 20 | 69 73 20 6e 6f 74 20 65 |valData |is not e|
|000054a0| 6d 70 74 79 20 74 68 65 | 6e 0d 69 66 20 63 68 61 |mpty the|n.if cha|
|000054b0| 72 20 31 20 74 6f 20 32 | 20 6f 66 20 67 42 61 63 |r 1 to 2| of gBac|
|000054c0| 6b 67 72 6f 75 6e 64 4e | 61 6d 65 20 69 73 20 22 |kgroundN|ame is "|
|000054d0| a7 8c 22 20 61 6e 64 20 | c2 0d 63 68 61 72 20 31 |.." and |..char 1|
|000054e0| 20 74 6f 20 32 20 6f 66 | 20 74 68 65 20 73 68 6f | to 2 of| the sho|
|000054f0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005500| 62 67 20 69 73 20 6e 6f | 74 20 22 a7 8c 22 20 74 |bg is no|t ".." t|
|00005510| 68 65 6e 0d 69 66 20 67 | 4e 6f 44 69 73 6b 20 69 |hen.if g|NoDisk i|
|00005520| 73 20 6e 6f 74 20 22 74 | 72 75 65 22 20 74 68 65 |s not "t|rue" the|
|00005530| 6e 0d 70 75 74 20 74 68 | 65 20 73 68 6f 72 74 20 |n.put th|e short |
|00005540| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|00005550| 69 6e 74 6f 20 66 69 6e | 61 6c 63 61 72 64 6e 61 |into fin|alcardna|
|00005560| 6d 65 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |me.put t|he short|
|00005570| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00005580| 61 63 6b 20 69 6e 74 6f | 20 67 53 74 61 63 6b 4e |ack into| gStackN|
|00005590| 61 6d 65 0d 64 6f 57 61 | 72 6e 69 6e 67 20 2d 2d |ame.doWa|rning --|
|000055a0| 20 69 66 20 74 68 65 79 | 20 61 72 65 20 75 73 69 | if they| are usi|
|000055b0| 6e 67 20 61 20 73 74 75 | 64 65 6e 74 20 64 69 73 |ng a stu|dent dis|
|000055c0| 6b 2c 20 70 75 74 20 75 | 70 20 6d 73 67 0d 72 65 |k, put u|p msg.re|
|000055d0| 66 72 65 73 68 0d 69 66 | 20 67 6f 53 74 75 64 65 |fresh.if| goStude|
|000055e0| 6e 74 53 74 61 63 6b 28 | 29 20 69 73 20 22 74 72 |ntStack(|) is "tr|
|000055f0| 75 65 22 20 74 68 65 6e | 0d 67 6f 20 74 6f 20 63 |ue" then|.go to c|
|00005600| 64 20 72 65 70 6f 72 74 | 0d 73 65 6e 64 20 6c 69 |d report|.send li|
|00005610| 73 74 52 65 73 75 6c 74 | 73 20 74 6f 20 74 68 69 |stResult|s to thi|
|00005620| 73 20 63 61 72 64 0d 67 | 6f 20 74 6f 20 63 64 20 |s card.g|o to cd |
|00005630| 66 69 6e 61 6c 43 61 72 | 64 6e 61 6d 65 20 6f 66 |finalCar|dname of|
|00005640| 20 67 73 74 61 63 6b 6e | 61 6d 65 0d 65 6e 64 20 | gstackn|ame.end |
|00005650| 69 66 0d 6b 69 6c 6c 57 | 61 72 6e 69 6e 67 0d 65 |if.killW|arning.e|
|00005660| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005670| 20 69 66 0d 65 6e 64 20 | 6f 70 65 6e 42 61 63 6b | if.end |openBack|
|00005680| 67 72 6f 75 6e 64 0d 0d | 6f 6e 20 64 6f 57 61 72 |ground..|on doWar|
|00005690| 6e 69 6e 67 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |ning.if |the numb|
|000056a0| 65 72 20 6f 66 20 63 64 | 20 66 6c 64 73 20 3e 20 |er of cd| flds > |
|000056b0| 30 20 74 68 65 6e 0d 69 | 66 20 66 69 6e 64 46 69 |0 then.i|f findFi|
|000056c0| 65 6c 64 28 22 57 61 72 | 6e 69 6e 67 22 29 20 69 |eld("War|ning") i|
|000056d0| 73 20 6e 6f 74 20 66 61 | 6c 73 65 20 74 68 65 6e |s not fa|lse then|
|000056e0| 0d 73 68 6f 77 20 63 64 | 20 66 6c 64 20 22 57 61 |.show cd| fld "Wa|
|000056f0| 72 6e 69 6e 67 22 0d 75 | 6e 6c 6f 63 6b 20 73 63 |rning".u|nlock sc|
|00005700| 72 65 65 6e 0d 65 78 69 | 74 20 64 6f 57 61 72 6e |reen.exi|t doWarn|
|00005710| 69 6e 67 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ing.end |if.end i|
|00005720| 66 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |f.lock s|creen.pu|
|00005730| 74 20 6d 61 6b 65 4c 69 | 6e 65 73 28 20 c2 0d 22 |t makeLi|nes( .."|
|00005740| 22 2c c2 0d 22 53 61 76 | 69 6e 67 20 74 68 65 20 |",.."Sav|ing the |
|00005750| 72 65 73 75 6c 74 73 20 | 6f 66 20 79 6f 75 72 20 |results |of your |
|00005760| 53 65 6c 66 2d 41 73 73 | 65 73 73 6d 65 6e 74 2e |Self-Ass|essment.|
|00005770| 2e 2e 22 2c 20 c2 0d 22 | 70 6c 65 61 73 65 20 77 |..", .."|please w|
|00005780| 61 69 74 2e 22 29 20 69 | 6e 74 6f 20 6d 65 6e 75 |ait.") i|nto menu|
|00005790| 4c 69 73 74 0d 6d 61 6b | 65 43 61 72 64 46 69 65 |List.mak|eCardFie|
|000057a0| 6c 64 20 6e 61 6d 65 2c | 20 22 57 61 72 6e 69 6e |ld name,| "Warnin|
|000057b0| 67 22 2c 20 c2 0d 77 69 | 64 74 68 2c 20 33 32 30 |g", ..wi|dth, 320|
|000057c0| 2c 20 68 65 69 67 68 74 | 2c 38 32 2c 20 c2 0d 74 |, height|,82, ..t|
|000057d0| 6f 70 4c 65 66 74 2c 20 | 22 39 32 2c 37 38 22 2c |opLeft, |"92,78",|
|000057e0| c2 0d 6c 6f 63 6b 54 65 | 78 74 2c 20 74 72 75 65 |..lockTe|xt, true|
|000057f0| 2c 20 74 65 78 74 46 6f | 6e 74 2c 20 22 65 72 61 |, textFo|nt, "era|
|00005800| 73 20 64 65 6d 69 22 2c | 20 c2 0d 74 65 78 74 53 |s demi",| ..textS|
|00005810| 69 7a 65 2c 31 34 2c 73 | 74 79 6c 65 2c 20 22 73 |ize,14,s|tyle, "s|
|00005820| 68 61 64 6f 77 22 2c 20 | 74 65 78 74 61 6c 69 67 |hadow", |textalig|
|00005830| 6e 2c 20 6c 65 66 74 2c | 20 77 69 64 65 4d 61 72 |n, left,| wideMar|
|00005840| 67 69 6e 73 2c 74 72 75 | 65 0d 70 75 74 20 6d 65 |gins,tru|e.put me|
|00005850| 6e 75 4c 69 73 74 20 69 | 6e 74 6f 20 6c 61 73 74 |nuList i|nto last|
|00005860| 20 63 64 20 66 6c 64 0d | 70 75 74 20 22 6f 6e 20 | cd fld.|put "on |
|00005870| 6d 6f 75 73 65 55 70 22 | 20 26 20 72 65 74 75 72 |mouseUp"| & retur|
|00005880| 6e 20 26 20 22 68 69 64 | 65 20 6d 65 22 20 26 20 |n & "hid|e me" & |
|00005890| 72 65 74 75 72 6e 20 26 | 20 22 65 6e 64 20 6d 6f |return &| "end mo|
|000058a0| 75 73 65 55 70 22 20 69 | 6e 74 6f 20 73 74 72 69 |useUp" i|nto stri|
|000058b0| 6e 67 0d 73 65 74 20 74 | 68 65 20 73 63 72 69 70 |ng.set t|he scrip|
|000058c0| 74 20 6f 66 20 6c 61 73 | 74 20 63 64 20 66 6c 64 |t of las|t cd fld|
|000058d0| 20 74 6f 20 73 74 72 69 | 6e 67 0d 63 68 6f 6f 73 | to stri|ng.choos|
|000058e0| 65 20 62 72 6f 77 73 65 | 20 74 6f 6f 6c 0d 75 6e |e browse| tool.un|
|000058f0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00005900| 64 6f 57 61 72 6e 69 6e | 67 0d 0d 6f 6e 20 6b 69 |doWarnin|g..on ki|
|00005910| 6c 6c 57 61 72 6e 69 6e | 67 0d 69 66 20 74 68 65 |llWarnin|g.if the|
|00005920| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 6c | short n|ame of l|
|00005930| 61 73 74 20 63 64 20 66 | 6c 64 20 69 73 20 22 57 |ast cd f|ld is "W|
|00005940| 61 72 6e 69 6e 67 22 20 | 74 68 65 6e 0d 73 65 6c |arning" |then.sel|
|00005950| 65 63 74 20 63 64 20 66 | 6c 64 20 22 77 61 72 6e |ect cd f|ld "warn|
|00005960| 69 6e 67 22 0d 64 6f 6d | 65 6e 75 20 22 63 6c 65 |ing".dom|enu "cle|
|00005970| 61 72 20 66 69 65 6c 64 | 22 0d 63 68 6f 6f 73 65 |ar field|".choose|
|00005980| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 65 6e 64 | browse |tool.end|
|00005990| 20 69 66 0d 65 6e 64 20 | 6b 69 6c 6c 57 61 72 6e | if.end |killWarn|
|000059a0| 69 6e 67 0d 2d 2d 2f 20 | 65 6e 64 20 73 65 6c 66 |ing.--/ |end self|
|000059b0| 61 73 73 65 73 73 6d 65 | 6e 74 73 0d 0d 66 75 6e |assessme|nts..fun|
|000059c0| 63 74 69 6f 6e 20 67 6f | 73 74 75 64 65 6e 74 53 |ction go|studentS|
|000059d0| 74 61 63 6b 20 6f 70 74 | 41 73 6b 0d 67 6c 6f 62 |tack opt|Ask.glob|
|000059e0| 61 6c 20 67 53 74 75 64 | 65 6e 74 53 74 61 63 6b |al gStud|entStack|
|000059f0| 4e 61 6d 65 2c 67 4e 6f | 44 69 73 6b 2c 67 53 74 |Name,gNo|Disk,gSt|
|00005a00| 75 64 65 6e 74 4e 61 6d | 65 0d 2d 2d 20 6f 70 74 |udentNam|e.-- opt|
|00005a10| 41 73 6b 20 77 69 6c 6c | 20 6f 76 65 72 72 69 64 |Ask will| overrid|
|00005a20| 65 20 74 68 65 20 67 4e | 6f 44 69 73 6b 20 73 6f |e the gN|oDisk so|
|00005a30| 20 74 68 65 79 20 63 61 | 6e 20 61 64 64 20 74 68 | they ca|n add th|
|00005a40| 65 20 64 69 73 6b 20 61 | 74 20 74 68 69 73 20 74 |e disk a|t this t|
|00005a50| 69 65 6d 0d 69 66 20 6f | 70 74 41 73 6b 20 69 73 |iem.if o|ptAsk is|
|00005a60| 20 22 22 20 61 6e 64 20 | 67 4e 6f 44 69 73 6b 20 | "" and |gNoDisk |
|00005a70| 69 73 20 74 72 75 65 20 | 74 68 65 6e 20 65 78 69 |is true |then exi|
|00005a80| 74 20 67 6f 53 74 75 64 | 65 6e 74 53 74 61 63 6b |t goStud|entStack|
|00005a90| 0d 62 65 71 75 69 65 74 | 0d 69 66 20 67 53 74 75 |.bequiet|.if gStu|
|00005aa0| 64 65 6e 74 53 74 61 63 | 6b 4e 61 6d 65 20 69 73 |dentStac|kName is|
|00005ab0| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 22 53 74 | "" then|.put "St|
|00005ac0| 75 64 65 6e 74 20 44 69 | 73 6b 3a 4d 46 20 53 74 |udent Di|sk:MF St|
|00005ad0| 75 64 65 6e 74 20 53 74 | 61 63 6b 22 20 69 6e 74 |udent St|ack" int|
|00005ae0| 6f 20 67 53 74 75 64 65 | 6e 74 53 74 61 63 6b 4e |o gStude|ntStackN|
|00005af0| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 66 |ame.end |if..if f|
|00005b00| 69 6c 65 45 78 69 73 74 | 73 28 67 53 74 75 64 65 |ileExist|s(gStude|
|00005b10| 6e 74 53 74 61 63 6b 4e | 61 6d 65 29 20 74 68 65 |ntStackN|ame) the|
|00005b20| 6e 0d 67 6f 20 67 53 74 | 75 64 65 6e 74 53 74 61 |n.go gSt|udentSta|
|00005b30| 63 6b 4e 61 6d 65 0d 72 | 65 74 75 72 6e 20 22 74 |ckName.r|eturn "t|
|00005b40| 72 75 65 22 0d 65 6c 73 | 65 0d 70 75 74 20 22 59 |rue".els|e.put "Y|
|00005b50| 6f 75 20 6e 65 65 64 20 | 79 6f 75 72 20 53 74 75 |ou need |your Stu|
|00005b60| 64 65 6e 74 20 44 69 73 | 6b 20 74 6f 20 73 61 76 |dent Dis|k to sav|
|00005b70| 65 20 79 6f 75 72 20 77 | 6f 72 6b 2e 22 20 26 26 |e your w|ork." &&|
|00005b80| 20 c2 0d 22 49 66 20 79 | 6f 75 20 77 61 6e 74 20 | .."If y|ou want |
|00005b90| 74 6f 20 75 73 65 20 69 | 74 2c 20 69 6e 73 65 72 |to use i|t, inser|
|00005ba0| 74 20 69 74 20 69 6e 74 | 6f 20 74 68 65 20 64 72 |t it int|o the dr|
|00005bb0| 69 76 65 20 74 68 65 6e | 20 22 20 26 20 c2 0d 22 |ive then| " & .."|
|00005bc0| 63 6c 69 63 6b 20 d2 4f | 4b 2e d3 22 20 69 6e 74 |click .O|K.." int|
|00005bd0| 6f 20 73 74 72 69 6e 67 | 0d 61 6e 73 77 65 72 20 |o string|.answer |
|00005be0| 73 74 72 69 6e 67 20 77 | 69 74 68 20 22 4e 6f 20 |string w|ith "No |
|00005bf0| 64 69 73 6b 22 20 6f 72 | 20 22 4f 4b 22 0d 69 66 |disk" or| "OK".if|
|00005c00| 20 69 74 20 69 73 20 22 | 4e 6f 20 64 69 73 6b 22 | it is "|No disk"|
|00005c10| 20 74 68 65 6e 0d 70 75 | 74 20 22 74 72 75 65 22 | then.pu|t "true"|
|00005c20| 20 69 6e 74 6f 20 67 4e | 6f 44 69 73 6b 0d 72 65 | into gN|oDisk.re|
|00005c30| 74 75 72 6e 20 22 66 61 | 6c 73 65 22 20 2d 2d 20 |turn "fa|lse" -- |
|00005c40| 6e 6f 20 73 74 75 64 65 | 6e 74 20 64 69 73 6b 0d |no stude|nt disk.|
|00005c50| 65 6c 73 65 20 69 66 20 | 69 74 20 69 73 20 22 4f |else if |it is "O|
|00005c60| 4b 22 20 74 68 65 6e 0d | 67 6f 20 67 53 74 75 64 |K" then.|go gStud|
|00005c70| 65 6e 74 53 74 61 63 6b | 4e 61 6d 65 20 2d 2d 20 |entStack|Name -- |
|00005c80| 6a 75 73 74 20 68 61 76 | 65 20 74 6f 20 68 61 76 |just hav|e to hav|
|00005c90| 65 20 61 20 64 69 61 6c | 6f 67 20 62 6f 78 0d 69 |e a dial|og box.i|
|00005ca0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00005cb0| 22 22 20 74 68 65 6e 0d | 67 65 74 20 63 68 65 63 |"" then.|get chec|
|00005cc0| 6b 4e 61 6d 65 28 29 0d | 69 66 20 69 74 20 69 73 |kName().|if it is|
|00005cd0| 20 74 72 75 65 20 74 68 | 65 6e 0d 70 75 74 20 22 | true th|en.put "|
|00005ce0| 66 61 6c 73 65 22 20 69 | 6e 74 6f 20 67 4e 6f 44 |false" i|nto gNoD|
|00005cf0| 69 73 6b 0d 72 65 74 75 | 72 6e 20 22 74 72 75 65 |isk.retu|rn "true|
|00005d00| 22 20 2d 2d 20 66 6f 75 | 6e 64 20 69 74 20 6f 6e |" -- fou|nd it on|
|00005d10| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 74 72 79 0d | the sec|ond try.|
|00005d20| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00005d30| 64 20 69 66 0d 2d 2d 20 | 69 66 20 79 6f 75 20 67 |d if.-- |if you g|
|00005d40| 65 74 20 68 65 72 65 2c | 20 69 74 27 73 20 64 75 |et here,| it's du|
|00005d50| 65 20 74 6f 20 61 20 62 | 61 64 20 73 74 75 64 65 |e to a b|ad stude|
|00005d60| 6e 74 20 64 69 73 6b 20 | 6f 72 20 63 61 6e 63 65 |nt disk |or cance|
|00005d70| 6c 2e 0d 72 65 66 72 65 | 73 68 0d 70 75 74 20 22 |l..refre|sh.put "|
|00005d80| 74 72 75 65 22 20 69 6e | 74 6f 20 67 4e 6f 44 69 |true" in|to gNoDi|
|00005d90| 73 6b 0d 72 65 74 75 72 | 6e 20 22 66 61 6c 73 65 |sk.retur|n "false|
|00005da0| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 6f 73 |".end if|.end gos|
|00005db0| 74 75 64 65 6e 74 53 74 | 61 63 6b 0d 0d 66 75 6e |tudentSt|ack..fun|
|00005dc0| 63 74 69 6f 6e 20 63 68 | 65 63 6b 4e 61 6d 65 0d |ction ch|eckName.|
|00005dd0| 67 6c 6f 62 61 6c 20 67 | 53 74 75 64 65 6e 74 4e |global g|StudentN|
|00005de0| 61 6d 65 0d 69 66 20 20 | 6e 61 6d 65 20 6f 66 20 |ame.if |name of |
|00005df0| 74 68 69 73 20 62 67 20 | 69 73 20 6e 6f 74 20 22 |this bg |is not "|
|00005e00| 73 74 75 64 65 6e 74 20 | 73 74 61 63 6b 22 20 74 |student |stack" t|
|00005e10| 68 65 6e 0d 67 6f 20 62 | 61 63 6b 0d 65 6a 65 63 |hen.go b|ack.ejec|
|00005e20| 74 44 69 73 6b 20 31 0d | 70 75 74 20 22 54 68 69 |tDisk 1.|put "Thi|
|00005e30| 73 20 69 73 20 6e 6f 74 | 20 61 20 53 74 75 64 65 |s is not| a Stude|
|00005e40| 6e 74 20 44 69 73 6b 2e | 22 20 26 26 20 c2 0d 22 |nt Disk.|" && .."|
|00005e50| 49 74 20 77 6f 6e d5 74 | 20 62 65 20 70 6f 73 73 |It won.t| be poss|
|00005e60| 69 62 6c 65 20 74 6f 20 | 73 61 76 65 20 79 6f 75 |ible to |save you|
|00005e70| 72 20 77 6f 72 6b 2e 22 | 20 69 6e 74 6f 20 73 74 |r work."| into st|
|00005e80| 72 69 6e 67 0d 61 6e 73 | 77 65 72 20 73 74 72 69 |ring.ans|wer stri|
|00005e90| 6e 67 20 77 69 74 68 20 | 22 4f 4b 22 0d 72 65 74 |ng with |"OK".ret|
|00005ea0| 75 72 6e 20 22 66 61 6c | 73 65 22 0d 65 6e 64 20 |urn "fal|se".end |
|00005eb0| 69 66 0d 70 75 74 20 66 | 6c 64 20 22 67 6c 6f 62 |if.put f|ld "glob|
|00005ec0| 61 6c 22 20 6f 66 20 63 | 64 20 22 67 53 74 75 64 |al" of c|d "gStud|
|00005ed0| 65 6e 74 4e 61 6d 65 22 | 20 69 6e 74 6f 20 73 61 |entName"| into sa|
|00005ee0| 76 65 64 4e 61 6d 65 0d | 69 66 20 73 61 76 65 64 |vedName.|if saved|
|00005ef0| 4e 61 6d 65 20 69 73 20 | 22 22 20 74 68 65 6e 20 |Name is |"" then |
|00005f00| 20 2d 2d 20 6e 65 77 20 | 73 74 61 63 6b 0d 70 75 | -- new |stack.pu|
|00005f10| 74 20 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 20 69 |t gStude|ntName i|
|00005f20| 6e 74 6f 20 66 6c 64 20 | 22 67 6c 6f 62 61 6c 22 |nto fld |"global"|
|00005f30| 20 6f 66 20 63 64 20 22 | 67 53 74 75 64 65 6e 74 | of cd "|gStudent|
|00005f40| 4e 61 6d 65 22 0d 72 65 | 74 75 72 6e 20 22 74 72 |Name".re|turn "tr|
|00005f50| 75 65 22 0d 65 6e 64 20 | 69 66 0d 69 66 20 73 61 |ue".end |if.if sa|
|00005f60| 76 65 64 4e 61 6d 65 20 | 69 73 20 6e 6f 74 20 67 |vedName |is not g|
|00005f70| 53 74 75 64 65 6e 74 4e | 61 6d 65 20 74 68 65 6e |StudentN|ame then|
|00005f80| 0d 61 6e 73 77 65 72 20 | 22 49 73 20 79 6f 75 72 |.answer |"Is your|
|00005f90| 20 6e 61 6d 65 20 d2 22 | 20 26 20 73 61 76 65 64 | name ."| & saved|
|00005fa0| 4e 61 6d 65 20 26 20 22 | 3f d3 22 20 77 69 74 68 |Name & "|?." with|
|00005fb0| 20 22 57 72 6f 6e 67 20 | 6e 61 6d 65 22 20 c2 0d | "Wrong |name" ..|
|00005fc0| 6f 72 20 22 59 65 73 22 | 0d 69 66 20 69 74 20 69 |or "Yes"|.if it i|
|00005fd0| 73 20 22 57 72 6f 6e 67 | 20 6e 61 6d 65 22 20 74 |s "Wrong| name" t|
|00005fe0| 68 65 6e 0d 65 6a 65 63 | 74 44 69 73 6b 20 31 0d |hen.ejec|tDisk 1.|
|00005ff0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 20 2d 2d 20 |return f|alse -- |
|00006000| 6e 6f 20 6d 61 74 63 68 | 0d 65 6c 73 65 0d 70 75 |no match|.else.pu|
|00006010| 74 20 73 61 76 65 64 4e | 61 6d 65 20 69 6e 74 6f |t savedN|ame into|
|00006020| 20 67 53 74 75 64 65 6e | 74 4e 61 6d 65 20 2d 2d | gStuden|tName --|
|00006030| 20 63 68 61 6e 67 65 20 | 74 68 65 20 67 6c 6f 62 | change |the glob|
|00006040| 61 6c 20 74 6f 20 6d 61 | 74 63 68 20 74 68 65 20 |al to ma|tch the |
|00006050| 64 69 73 6b 0d 72 65 74 | 75 72 6e 20 74 72 75 65 |disk.ret|urn true|
|00006060| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 72 |.end if.|end if.r|
|00006070| 65 74 75 72 6e 20 74 72 | 75 65 20 2d 2d 20 74 68 |eturn tr|ue -- th|
|00006080| 65 79 20 6d 61 74 63 68 | 65 64 0d 65 6e 64 20 63 |ey match|ed.end c|
|00006090| 68 65 63 6b 4e 61 6d 65 | 0d 0d 66 75 6e 63 74 69 |heckName|..functi|
|000060a0| 6f 6e 20 67 6f 4e 6f 74 | 65 62 6f 6f 6b 0d 69 66 |on goNot|ebook.if|
|000060b0| 20 67 6f 53 74 75 64 65 | 6e 74 53 74 61 63 6b 28 | goStude|ntStack(|
|000060c0| 22 22 29 20 69 73 20 22 | 74 72 75 65 22 20 74 68 |"") is "|true" th|
|000060d0| 65 6e 0d 67 6f 20 63 64 | 20 22 6e 6f 74 65 62 6f |en.go cd| "notebo|
|000060e0| 6f 6b 22 0d 72 65 74 75 | 72 6e 20 74 72 75 65 0d |ok".retu|rn true.|
|000060f0| 65 6c 73 65 0d 72 65 74 | 75 72 6e 20 66 61 6c 73 |else.ret|urn fals|
|00006100| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 6f 4e |e.end if|.end goN|
|00006110| 6f 74 65 62 6f 6f 6b 0d | 0d 66 75 6e 63 74 69 6f |otebook.|.functio|
|00006120| 6e 20 67 6f 53 6e 61 70 | 73 68 6f 74 0d 62 65 71 |n goSnap|shot.beq|
|00006130| 75 69 65 74 0d 70 75 74 | 20 22 53 74 75 64 65 6e |uiet.put| "Studen|
|00006140| 74 20 44 69 73 6b 3a 53 | 6e 61 70 73 68 6f 74 22 |t Disk:S|napshot"|
|00006150| 20 69 6e 74 6f 20 73 6e | 61 70 4e 61 6d 65 0d 69 | into sn|apName.i|
|00006160| 66 20 66 69 6c 65 45 78 | 69 73 74 73 28 73 6e 61 |f fileEx|ists(sna|
|00006170| 70 4e 61 6d 65 29 20 74 | 68 65 6e 0d 67 6f 20 73 |pName) t|hen.go s|
|00006180| 6e 61 70 4e 61 6d 65 0d | 72 65 74 75 72 6e 20 22 |napName.|return "|
|00006190| 74 72 75 65 22 0d 65 6c | 73 65 0d 70 75 74 20 22 |true".el|se.put "|
|000061a0| 59 6f 75 20 6e 65 65 64 | 20 79 6f 75 72 20 53 74 |You need| your St|
|000061b0| 75 64 65 6e 74 20 44 69 | 73 6b 20 66 6f 72 20 73 |udent Di|sk for s|
|000061c0| 6e 61 70 73 68 6f 74 73 | 2e 20 50 6c 65 61 73 65 |napshots|. Please|
|000061d0| 20 22 20 26 26 20 c2 0d | 22 69 6e 73 65 72 74 20 | " && ..|"insert |
|000061e0| 69 74 20 69 6e 74 6f 20 | 74 68 65 20 64 72 69 76 |it into |the driv|
|000061f0| 65 20 61 6e 64 20 63 6c | 69 63 6b 20 74 68 65 20 |e and cl|ick the |
|00006200| d2 4f 4b d3 20 62 75 74 | 74 6f 6e 20 62 65 6c 6f |.OK. but|ton belo|
|00006210| 77 2e 22 20 c2 0d 69 6e | 74 6f 20 73 74 72 69 6e |w." ..in|to strin|
|00006220| 67 0d 61 6e 73 77 65 72 | 20 73 74 72 69 6e 67 20 |g.answer| string |
|00006230| 77 69 74 68 20 22 4e 6f | 20 64 69 73 6b 22 20 6f |with "No| disk" o|
|00006240| 72 20 22 4f 4b 22 0d 69 | 66 20 69 74 20 69 73 20 |r "OK".i|f it is |
|00006250| 22 4f 4b 22 20 74 68 65 | 6e 20 2d 2d 20 74 72 79 |"OK" the|n -- try|
|00006260| 20 61 67 61 69 6e 0d 69 | 66 20 66 69 6c 65 45 78 | again.i|f fileEx|
|00006270| 69 73 74 73 28 73 6e 61 | 70 4e 61 6d 65 29 20 74 |ists(sna|pName) t|
|00006280| 68 65 6e 0d 67 6f 20 73 | 6e 61 70 4e 61 6d 65 0d |hen.go s|napName.|
|00006290| 72 65 74 75 72 6e 20 22 | 74 72 75 65 22 0d 65 6c |return "|true".el|
|000062a0| 73 65 0d 70 75 74 20 22 | 53 6f 72 72 79 2c 20 63 |se.put "|Sorry, c|
|000062b0| 61 6e d5 74 20 6c 6f 63 | 61 74 65 20 74 68 65 20 |an.t loc|ate the |
|000062c0| 53 74 75 64 65 6e 74 20 | 44 69 73 6b 2e 22 20 69 |Student |Disk." i|
|000062d0| 6e 74 6f 20 73 74 72 69 | 6e 67 0d 61 6e 73 77 65 |nto stri|ng.answe|
|000062e0| 72 20 73 74 72 69 6e 67 | 20 77 69 74 68 20 22 4f |r string| with "O|
|000062f0| 4b 22 0d 72 65 74 75 72 | 6e 20 22 66 61 6c 73 65 |K".retur|n "false|
|00006300| 22 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 2d 2d |".end if|.else.--|
|00006310| 20 61 6e 73 77 65 72 65 | 64 20 6e 6f 20 64 69 73 | answere|d no dis|
|00006320| 6b 0d 72 65 74 75 72 6e | 20 22 66 61 6c 73 65 22 |k.return| "false"|
|00006330| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00006340| 6e 64 20 67 6f 53 6e 61 | 70 73 68 6f 74 0d 0d 2d |nd goSna|pshot..-|
|00006350| 2d 7c 7c 7c 2d 2d 20 53 | 54 41 4e 44 41 52 44 20 |-|||-- S|TANDARD |
|00006360| 53 54 41 43 4b 20 53 43 | 52 49 50 54 53 20 45 4e |STACK SC|RIPTS EN|
|00006370| 44 20 2d 2d 7c 7c 7c 2d | 2d 00 66 0d 0d 2d 2d 20 |D --|||-|-.f..-- |
|00006380| 69 66 20 69 74 20 64 69 | 64 6e 27 74 20 74 69 6d |if it di|dn't tim|
|00006390| 65 20 6f 75 74 2c 20 73 | 65 65 20 77 68 61 74 20 |e out, s|ee what |
|000063a0| 74 68 65 20 75 73 65 72 | 20 63 68 6f 73 65 0d 70 |the user| chose.p|
|000063b0| 75 74 20 69 74 65 6d 20 | 34 20 6f 66 20 69 74 20 |ut item |4 of it |
|000063c0| 69 6e 74 6f 20 75 73 65 | 72 50 69 63 6b 65 64 0d |into use|rPicked.|
|000063d0| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|000063e0| 20 22 54 61 6b 65 20 73 | 6e 61 70 73 68 6f 74 22 | "Take s|napshot"|
|000063f0| 20 74 68 65 6e 20 2d 2d | 20 74 61 6b 65 20 73 6e | then --| take sn|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.